]> granicus.if.org Git - openssl/commitdiff
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 8353b322273861fe0f9aa66b8746a3513decbc0b..c2df4e07c9368ecd4c6af1c0bae8d1dd92f2f408 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