diff options
author | schmonz <schmonz@pkgsrc.org> | 2021-09-14 10:33:26 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2021-09-14 10:33:26 +0000 |
commit | 779a723d206cbca408fc059a730f347f67a0e81b (patch) | |
tree | 45af38668d46cf139c5f8b05492aed5c5bcde12c /mk/platform | |
parent | fd3c414e4aea94ecab6f56cd4c23e4e2636e9cf7 (diff) | |
download | pkgsrc-779a723d206cbca408fc059a730f347f67a0e81b.tar.gz |
mk/platform: add SDK mapping for macOS 11.6.
Diffstat (limited to 'mk/platform')
-rw-r--r-- | mk/platform/Darwin.mk | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk index 695b648eea3..7555889f0f6 100644 --- a/mk/platform/Darwin.mk +++ b/mk/platform/Darwin.mk @@ -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_UNSTRIPPED:D:U} # install(1) option to strip # 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(). |