pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/platform



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Tue Sep 14 10:33:26 UTC 2021

Modified Files:
        pkgsrc/mk/platform: Darwin.mk

Log Message:
mk/platform: add SDK mapping for macOS 11.6.


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 pkgsrc/mk/platform/Darwin.mk

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

Modified files:

Index: pkgsrc/mk/platform/Darwin.mk
diff -u pkgsrc/mk/platform/Darwin.mk:1.104 pkgsrc/mk/platform/Darwin.mk:1.105
--- pkgsrc/mk/platform/Darwin.mk:1.104  Mon Jul 26 11:58:24 2021
+++ pkgsrc/mk/platform/Darwin.mk        Tue Sep 14 10:33:26 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.104 2021/07/26 11:58:24 jperkin Exp $
+# $NetBSD: Darwin.mk,v 1.105 2021/09/14 10:33:26 schmonz Exp $
 #
 # Variable definitions for the Darwin operating system.
 
@@ -111,6 +111,7 @@ _OPSYS_INCLUDE_DIRS?=       /usr/include
 OSX_SDK_MAP.11.2=      11.1
 OSX_SDK_MAP.11.4=      11.3
 OSX_SDK_MAP.11.5=      11.3
+OSX_SDK_MAP.11.6=      11.3
 #
 OSX_SDK_PATH!= /usr/bin/xcrun \
                    --sdk macosx${OSX_SDK_MAP.${OSX_VERSION}:U${OSX_VERSION}} \
@@ -208,6 +209,15 @@ _STRIPFLAG_INSTALL?=       ${_INSTALL_UNSTRIPP
 # to avoid a test required by the libtool script that takes forever.
 _OPSYS_MAX_CMDLEN_CMD= /usr/sbin/sysctl -n kern.argmax
 
+.if ${MACHINE_ARCH} == "aarch64"
+CWRAPPERS_APPEND.cc+=  -arch arm64
+CWRAPPERS_APPEND.cxx+= -arch arm64
+CWRAPPERS_APPEND.ld+=  -arch arm64
+_WRAP_EXTRA_ARGS.CC+=  -arch arm64
+_WRAP_EXTRA_ARGS.CXX+= -arch arm64
+_WRAP_EXTRA_ARGS.LD+=  -arch arm64
+.endif
+
 # Darwin 7.7.x has poll() in libc, but no poll.h. Try to help GNU
 # configure packages that break because of this by pretending that
 # there is no poll().



Home | Main Index | Thread Index | Old Index