summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2018-02-06 07:15:53 +1000
committerPauli <paul.dale@oracle.com>2018-02-07 10:08:15 +1000
commit2ad2281a8005dbc9046059693995c78a04ed9e37 (patch)
treeaa984cd6f2ffc76ec4b63f02aa0c440bebaa2b37 /Configure
parent7ff3a3b9e98104e3d080e652712c42b0dff915dd (diff)
Make the OPENSSL_CPUID_OBJ define internal.
Patch by @levitte. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/5231)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/Configure b/Configure
index 22d42fb9d9..a6f5a31969 100755
--- a/Configure
+++ b/Configure
@@ -1292,6 +1292,8 @@ if ($target{sys_id} ne "")
unless ($disabled{asm}) {
$target{cpuid_asm_src}=$table{DEFAULTS}->{cpuid_asm_src} if ($config{processor} eq "386");
+ push @{$config{defines}}, "OPENSSL_CPUID_OBJ" if ($target{cpuid_asm_src} ne "mem_clr.o");
+
$target{bn_asm_src} =~ s/\w+-gf2m.c// if (defined($disabled{ec2m}));
# bn-586 is the only one implementing bn_*_part_words