Fix missing $CPUIDDEF in libdefault.a
authorXiaofei Bai <xiaofei.bai@arm.com>
Mon, 10 May 2021 09:12:22 +0000 (09:12 +0000)
committerTomas Mraz <tomas@openssl.org>
Tue, 11 May 2021 16:27:07 +0000 (18:27 +0200)
This fixes a build error caused by missing $CPUIDDEF when
compiling libdefault.a, and some functions(like armv8_aes_gcm_encrypt)
become undefined.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15215)

crypto/build.info

index ed4581eef56cbdc55b26ec56c6ca486c156f0dd2..9d8eda2884c26ee78115356278c5ec56a9a6e282 100644 (file)
@@ -81,6 +81,7 @@ ENDIF
 # Implementations are now spread across several libraries, so the CPUID define
 # need to be applied to all affected libraries and modules.
 DEFINE[../providers/libcommon.a]=$CPUIDDEF
+DEFINE[../providers/libdefault.a]=$CPUIDDEF
 
 # The Core
 $CORE_COMMON=provider_core.c provider_predefined.c \