diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc index 5e28c1aa3c5c..75b67763e1dd 100644 --- a/secure/lib/libcrypto/Makefile.inc +++ b/secure/lib/libcrypto/Makefile.inc @@ -21,16 +21,9 @@ CFLAGS+= -DL_ENDIAN CFLAGS+= -DB_ENDIAN .endif -.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" +.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ + ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "i386" ASM_${MACHINE_CPUARCH}= -.elif ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" -_ASM_AVX!= { \ - echo vzeroall | \ - ${CC} -x assembler -o /dev/null -c - 2> /dev/null; \ - } && echo yes || echo no -.if ${_ASM_AVX} == yes -ASM_${MACHINE_CPUARCH}= -.endif .endif .if defined(ASM_${MACHINE_CPUARCH})