Author: jkim
Date: Thu Nov  2 18:27:32 2017
New Revision: 325336
URL: https://svnweb.freebsd.org/changeset/base/325336

Log:
  MFC:  r307977
  
  Prefer ACFLAGS over CFLAGS for compiling aarch64 assembly files.

Modified:
  stable/11/secure/lib/libcrypto/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/secure/lib/libcrypto/Makefile
==============================================================================
--- stable/11/secure/lib/libcrypto/Makefile     Thu Nov  2 18:22:53 2017        
(r325335)
+++ stable/11/secure/lib/libcrypto/Makefile     Thu Nov  2 18:27:32 2017        
(r325336)
@@ -24,7 +24,7 @@ SRCS= cpt_err.c cryptlib.c cversion.c ex_data.c mem.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 symhack
 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 gc
        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)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to