summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2017-11-02 18:27:32 +0000
committerjkim <jkim@FreeBSD.org>2017-11-02 18:27:32 +0000
commit8c6a7dd0c5d9611f646748975a7adafac6601ae8 (patch)
tree61c0ddc4b30becda37c3019eb27e73f461904a2b /secure
parentffd1bb8c599181e0733f8e00d8d8198b4ea6a73b (diff)
downloadFreeBSD-src-8c6a7dd0c5d9611f646748975a7adafac6601ae8.zip
FreeBSD-src-8c6a7dd0c5d9611f646748975a7adafac6601ae8.tar.gz
MFC: r307977
Prefer ACFLAGS over CFLAGS for compiling aarch64 assembly files.
Diffstat (limited to 'secure')
-rw-r--r--secure/lib/libcrypto/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile
index 5e9ad2b..ccc7821 100644
--- a/secure/lib/libcrypto/Makefile
+++ b/secure/lib/libcrypto/Makefile
@@ -24,7 +24,7 @@ SRCS= cpt_err.c cryptlib.c cversion.c ex_data.c mem.c mem_dbg.c o_dir.c \
o_fips.c o_init.c o_str.c o_time.c uid.c
.if defined(ASM_aarch64)
SRCS+= arm64cpuid.S armcap.c mem_clr.c
-CFLAGS.arm64cpuid.S= -march=armv8-a+crypto
+ACFLAGS.arm64cpuid.S= -march=armv8-a+crypto
.elif defined(ASM_amd64)
SRCS+= x86_64cpuid.S
.elif defined(ASM_arm)
@@ -40,7 +40,7 @@ INCS+= crypto.h ebcdic.h opensslv.h ossl_typ.h symhacks.h ../e_os2.h
SRCS+= aes_cfb.c aes_ctr.c aes_ecb.c aes_ige.c aes_misc.c aes_ofb.c aes_wrap.c
.if defined(ASM_aarch64)
SRCS+= aes_cbc.c aes_core.c aesv8-armx.S
-CFLAGS.aesv8-armx.S= -march=armv8-a+crypto
+ACFLAGS.aesv8-armx.S= -march=armv8-a+crypto
.elif defined(ASM_amd64)
SRCS+= aes-x86_64.S aesni-mb-x86_64.S aesni-sha1-x86_64.S \
aesni-sha256-x86_64.S aesni-x86_64.S bsaes-x86_64.S vpaes-x86_64.S
@@ -246,7 +246,7 @@ SRCS+= cbc128.c ccm128.c cfb128.c ctr128.c cts128.c gcm128.c ofb128.c \
wrap128.c xts128.c
.if defined(ASM_aarch64)
SRCS+= ghashv8-armx.S
-CFLAGS.ghashv8-armx.S= -march=armv8-a+crypto
+ACFLAGS.ghashv8-armx.S= -march=armv8-a+crypto
.elif defined(ASM_amd64)
SRCS+= aesni-gcm-x86_64.S ghash-x86_64.S
.elif defined(ASM_arm)
OpenPOWER on IntegriCloud