[openssl/openssl] b8d3cf: Configurations/*.tmpl: overhaul assembler make rules.

Richard Levitte noreply at github.com
Fri Nov 4 09:11:55 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: b8d3cf0954737a9665e3b2bff25bc689a5114010
      https://github.com/openssl/openssl/commit/b8d3cf0954737a9665e3b2bff25bc689a5114010
  Author: Richard Levitte <levitte at openssl.org>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    M Configurations/descrip.mms.tmpl
    M Configurations/platform/BASE.pm
    M Configurations/unix-Makefile.tmpl
    M Configurations/windows-makefile.tmpl

  Log Message:
  -----------
  Configurations/*.tmpl: overhaul assembler make rules.

NOTE: Not Configurations/unix-Makefile.tmpl, as that was done 4 years
ago, in commit a23f03166e0ec49ac09b3671e7ab4ba4fa57d42a.

So far assembly modules were intended to be built as .pl->.S->.{asmext}
followed by .{asmext}->.o.  This posed a problem in build_all_generated
rule if it was executed on another computer, and also turned out to be
buggy, as .S was also translated to .{asmext} on Windows and VMS.
Both issues are fixed by changing the rule sequence to .pl->.S and then
.S->.s->.o, with the added benefit that the Windows and VMS build file
templates are more in sync with unix-Makefile.tmpl and slightly simpler.

Fixes #19594

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19598)




More information about the openssl-commits mailing list