Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2022 17:30:33 GMT
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3d0da7220ca9 - main - archivers/7-zip: set CFLAGS to fix build on aarch64
Message-ID:  <202201301730.20UHUXAe070757@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201301730.20UHUXAe070757>