diff options
author | tnn <tnn@pkgsrc.org> | 2022-03-16 13:32:37 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2022-03-16 13:32:37 +0000 |
commit | 9304d9e20fbea2e751d3d9acd8f219cddd0933fe (patch) | |
tree | b337c628a86d156de1b18d5129c03f1f34ef957b /security/gnutls | |
parent | a5b253630ab4cbf0295f99a85b773582168fb356 (diff) | |
download | pkgsrc-9304d9e20fbea2e751d3d9acd8f219cddd0933fe.tar.gz |
gnutls: fix build w/ latest xcode on Apple M1
Diffstat (limited to 'security/gnutls')
-rw-r--r-- | security/gnutls/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile index 36c626ae0fa..4441a251d89 100644 --- a/security/gnutls/Makefile +++ b/security/gnutls/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.228 2022/02/06 20:54:24 rillig Exp $ +# $NetBSD: Makefile,v 1.229 2022/03/16 13:32:37 tnn Exp $ DISTNAME= gnutls-3.7.3 PKGREVISION= 1 @@ -82,6 +82,11 @@ CONFIGURE_ARGS+= --disable-hardware-acceleration . endif .endif +.if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64) +# don't assume GNU as(1) here +BUILDLINK_TRANSFORM+= rm:-Wa,-march=all +.endif + # Tests fail due to missing strndup for Solaris < 5.11, disable for now .if ${OPSYS} == "SunOS" && ${OPSYS_VERSION} < 051100 CONFIGURE_ARGS.SunOS+= --disable-tests |