crypto/bn/build.info: define OPENSL_IA32_SSE2 globally when needed
authorRichard Levitte <levitte@openssl.org>
Fri, 23 Aug 2019 15:19:08 +0000 (17:19 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 23 Aug 2019 15:19:08 +0000 (17:19 +0200)
This is done conditionally.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/9679)

crypto/bn/build.info

index 8353b32..c2df4e0 100644 (file)
@@ -96,7 +96,7 @@ IF[{- !$disabled{asm} -}]
       $BNDEF=$BNDEF $BNDEF_{- $target{asm_arch} -}_ec2m
     ENDIF
     IF[{- !$disabled{sse2} -}]
-      $BNDEF_sse2=$BNDEF $BNDEF_{- $target{asm_arch} -}_sse2
+      DEFINE[]=$BNDEF_{- $target{asm_arch} -}_sse2
     ENDIF
   ENDIF
 ENDIF