diff options
author | Richard Levitte <levitte@openssl.org> | 2018-03-06 20:35:30 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-03-08 17:24:02 +0100 |
commit | abe256e7951e6d57f8f6b4364ea696eb4ead3852 (patch) | |
tree | c135023d8af4063a2907a349cb580bebb92849aa /Configurations/50-masm.conf | |
parent | 48dcca265c9cb0c26459240ab1858577dacf9e67 (diff) |
Make "make variables" config attributes for overridable flags
With the support of "make variables" comes the possibility for the
user to override them. However, we need to make a difference between
defaults that we use (and that should be overridable by the user) and
flags that are crucial for building OpenSSL (should not be
overridable).
Typically, overridable flags are those setting optimization levels,
warnings levels, that kind of thing, while non-overridable flags are,
for example, macros that indicate aspects of how the config target
should be treated, such as L_ENDIAN and B_ENDIAN.
We do that differentiation by allowing upper case attributes in the
config targets, named exactly like the "make variables" we support,
and reserving the lower case attributes for non-overridable project
flags.
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5534)
Diffstat (limited to 'Configurations/50-masm.conf')
-rw-r--r-- | Configurations/50-masm.conf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Configurations/50-masm.conf b/Configurations/50-masm.conf index e2b54e345c..2c55dddc2a 100644 --- a/Configurations/50-masm.conf +++ b/Configurations/50-masm.conf @@ -11,9 +11,10 @@ my %targets = ( "VC-WIN64A-masm" => { inherit_from => [ "VC-WIN64-common", asm("x86_64_asm"), sub { $disabled{shared} ? () : "x86_64_uplink" } ], - as => "ml64", - asflags => "/nologo /c /Cp /Cx /Zi", + AS => "ml64", + ASFLAGS => "/nologo /Zi", asoutflag => "/Fo", + asflags => "/c /Cp /Cx", sys_id => "WIN64A", bn_asm_src => sub { return undef unless @_; my $r=join(" ",@_); $r=~s|asm/x86_64-gcc|bn_asm|; $r; }, |