aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/hosts/darwin.mk
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2023-07-07 00:13:12 +0200
committertobtoht <tob@featherwallet.org>2023-10-24 19:56:11 +0200
commitebb7671e0ea390d3b25df6fa9a6b564321eba7a6 (patch)
tree8f4949f9a97b8dd6e5ccb35d97469ffde312df9e /contrib/depends/hosts/darwin.mk
parentMerge pull request #8884 (diff)
downloadmonero-ebb7671e0ea390d3b25df6fa9a6b564321eba7a6.tar.xz
depends: use macOS 11 SDK with libc++ headers
Diffstat (limited to 'contrib/depends/hosts/darwin.mk')
-rw-r--r--contrib/depends/hosts/darwin.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/depends/hosts/darwin.mk b/contrib/depends/hosts/darwin.mk
index 79d449054..d81fd4241 100644
--- a/contrib/depends/hosts/darwin.mk
+++ b/contrib/depends/hosts/darwin.mk
@@ -1,12 +1,12 @@
-OSX_MIN_VERSION=10.8
+OSX_MIN_VERSION=10.13
LD64_VERSION=609
ifeq (aarch64, $(host_arch))
CC_target=arm64-apple-$(host_os)
else
CC_target=$(host)
endif
-darwin_CC=clang -target $(CC_target) -mmacosx-version-min=$(OSX_MIN_VERSION) --sysroot $(host_prefix)/native/SDK/ -mlinker-version=$(LD64_VERSION) -B$(host_prefix)/native/bin/$(host)-
-darwin_CXX=clang++ -target $(CC_target) -mmacosx-version-min=$(OSX_MIN_VERSION) --sysroot $(host_prefix)/native/SDK/ -mlinker-version=$(LD64_VERSION) -stdlib=libc++ -B$(host_prefix)/native/bin/$(host)-
+darwin_CC=clang -target $(CC_target) -mmacosx-version-min=$(OSX_MIN_VERSION) --sysroot $(host_prefix)/native/SDK/ -iwithsysroot/usr/include -iframeworkwithsysroot/System/Library/Frameworks -mlinker-version=$(LD64_VERSION) -B$(host_prefix)/native/bin/$(host)-
+darwin_CXX=clang++ -target $(CC_target) -mmacosx-version-min=$(OSX_MIN_VERSION) --sysroot $(host_prefix)/native/SDK/ -iwithsysroot/usr/include/c++/v1 -iwithsysroot/usr/include -iframeworkwithsysroot/System/Library/Frameworks -mlinker-version=$(LD64_VERSION) -stdlib=libc++ -B$(host_prefix)/native/bin/$(host)-
darwin_CFLAGS=-pipe
darwin_CXXFLAGS=$(darwin_CFLAGS)