pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/gnutls



Module Name:    pkgsrc
Committed By:   tnn
Date:           Wed Mar 16 13:32:37 UTC 2022

Modified Files:
        pkgsrc/security/gnutls: Makefile

Log Message:
gnutls: fix build w/ latest xcode on Apple M1


To generate a diff of this commit:
cvs rdiff -u -r1.228 -r1.229 pkgsrc/security/gnutls/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/gnutls/Makefile
diff -u pkgsrc/security/gnutls/Makefile:1.228 pkgsrc/security/gnutls/Makefile:1.229
--- pkgsrc/security/gnutls/Makefile:1.228       Sun Feb  6 20:54:24 2022
+++ pkgsrc/security/gnutls/Makefile     Wed Mar 16 13:32:37 2022
@@ -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-acce
 .  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