diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2018-10-01 18:16:36 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2018-10-01 18:16:36 +0000 |
commit | 2f0b51ed02117568e5c08f0094853fc74b5abc1b (patch) | |
tree | 8967fe50c141a4fdfbf8645a5611c98a56698698 | |
parent | 8fef2de1fc0aedb055fbd6212287261eec857d49 (diff) | |
download | src-test2-2f0b51ed02117568e5c08f0094853fc74b5abc1b.tar.gz src-test2-2f0b51ed02117568e5c08f0094853fc74b5abc1b.zip |
Notes
-rw-r--r-- | secure/lib/libcrypto/Makefile.inc | 11 |
1 files changed, 2 insertions, 9 deletions
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}) |