Use armv8-a in -march, it is accepted by both clang and gcc.

Sponsored by:	DARPA, AFRL
This commit is contained in:
Andrew Turner 2017-08-19 17:15:40 +00:00
parent 76136d200d
commit 3f32b92b1d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322696
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ contrib/vchiq/interface/vchiq_arm/vchiq_util.c optional vchiq soc_brcm_bcm2837 \
crypto/armv8/armv8_crypto.c optional armv8crypto
armv8_crypto_wrap.o optional armv8crypto \
dependency "$S/crypto/armv8/armv8_crypto_wrap.c" \
compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} ${WERROR} ${NO_WCAST_QUAL} ${PROF} -march=armv8a+crypto ${.IMPSRC}" \
compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} ${WERROR} ${NO_WCAST_QUAL} ${PROF} -march=armv8-a+crypto ${.IMPSRC}" \
no-implicit-rule \
clean "armv8_crypto_wrap.o"
crypto/blowfish/bf_enc.c optional crypto | ipsec | ipsec_support

View File

@ -12,7 +12,7 @@ OBJS+= armv8_crypto_wrap.o
armv8_crypto_wrap.o: armv8_crypto_wrap.c
${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} \
${WERROR} ${PROF} \
-march=armv8a+crypto ${.IMPSRC}
-march=armv8-a+crypto ${.IMPSRC}
${CTFCONVERT_CMD}
armv8_crypto_wrap.o: armv8_crypto.h