pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/gnutls gnutls: fix build w/ latest xcode on A...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/76a387253791
branches:  trunk
changeset: 375580:76a387253791
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Mar 16 13:32:37 2022 +0000

description:
gnutls: fix build w/ latest xcode on Apple M1

diffstat:

 security/gnutls/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 9028c7270ecd -r 76a387253791 security/gnutls/Makefile
--- a/security/gnutls/Makefile  Wed Mar 16 11:36:22 2022 +0000
+++ b/security/gnutls/Makefile  Wed Mar 16 13:32:37 2022 +0000
@@ -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 @@
 .  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



Home | Main Index | Thread Index | Old Index