From: fangming.fang Date: Wed, 29 Dec 2021 05:09:07 +0000 (+0000) Subject: Fix compile error when building with no-asm X-Git-Tag: openssl-3.2.0-alpha1~3145 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8251a32a0dc449fc39f44a1768e091fcc077227;p=thirdparty%2Fopenssl.git Fix compile error when building with no-asm Reviewed-by: Bernd Edlinger Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/17376) --- diff --git a/test/rdcpu_sanitytest.c b/test/rdcpu_sanitytest.c index df1858ae9b8..08af5b08956 100644 --- a/test/rdcpu_sanitytest.c +++ b/test/rdcpu_sanitytest.c @@ -23,7 +23,7 @@ size_t OPENSSL_ia32_rdseed_bytes(unsigned char *buf, size_t len); # define IS_X_86 0 #endif -#if defined(__aarch64__) +#if defined(__aarch64__) && defined(OPENSSL_CPUID_OBJ) # define IS_AARCH_64 1 # include "arm_arch.h"