Use armv8-a in -march, it is accepted by both clang and gcc.
Sponsored by: DARPA, AFRL
This commit is contained in:
parent
4fb9fa1d37
commit
08f348902e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user