git: 3d0da7220ca9 - main - archivers/7-zip: set CFLAGS to fix build on aarch64

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Sun, 30 Jan 2022 17:30:33 UTC
The branch main has been updated by makc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3d0da7220ca950600c5ddaf70797c27b00803a5c

commit 3d0da7220ca950600c5ddaf70797c27b00803a5c
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2022-01-30 17:29:49 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2022-01-30 17:29:49 +0000

    archivers/7-zip: set CFLAGS to fix build on aarch64
    
    The code will use CRC instructions at runtime if available.
    
    PR:     260329
---
 archivers/7-zip/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/archivers/7-zip/Makefile b/archivers/7-zip/Makefile
index 8a7f59629053..eb16a7051cae 100644
--- a/archivers/7-zip/Makefile
+++ b/archivers/7-zip/Makefile
@@ -24,6 +24,7 @@ CPE_VENDOR=	7-zip
 MAKEFILE=	../../cmpl_clang.mak
 MAKE_ARGS=	LOCAL_FLAGS="${CFLAGS}" \
 		LOCAL_LIBS="${LIBS} -lsysinfo"
+CFLAGS_aarch64?=	-march=armv8-a+crc+crypto
 
 NO_WRKSUBDIR=	yes
 BUILD_WRKSRC=	${WRKSRC}/CPP/7zip/Bundles/Alone2