aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/hosts/darwin.mk
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2022-05-05 16:29:11 +0100
committerHoward Chu <hyc@symas.com>2022-05-09 17:38:48 +0100
commit7ea1e214c5db6c48e405f8bb3ede8f5ec9b876db (patch)
treef0d36df5c5295c83ec6489910f6447743f1a7c21 /contrib/depends/hosts/darwin.mk
parentSilence some protobuf link warnings (diff)
downloadmonero-7ea1e214c5db6c48e405f8bb3ede8f5ec9b876db.tar.xz
Make Mac SDK into a regular depends package
Diffstat (limited to 'contrib/depends/hosts/darwin.mk')
-rw-r--r--contrib/depends/hosts/darwin.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/depends/hosts/darwin.mk b/contrib/depends/hosts/darwin.mk
index 2226f779c..d8b16f969 100644
--- a/contrib/depends/hosts/darwin.mk
+++ b/contrib/depends/hosts/darwin.mk
@@ -1,14 +1,12 @@
OSX_MIN_VERSION=10.8
-OSX_SDK_VERSION=11.1
-OSX_SDK=$(SDK_PATH)/MacOSX$(OSX_SDK_VERSION).sdk
LD64_VERSION=609
ifeq (aarch64, $(host_arch))
CC_target=arm64-apple-darwin11
else
CC_target=$(host)
endif
-darwin_CC=clang -target $(CC_target) -mmacosx-version-min=$(OSX_MIN_VERSION) --sysroot $(OSX_SDK) -mlinker-version=$(LD64_VERSION) -B$(host_prefix)/native/bin/$(host)-
-darwin_CXX=clang++ -target $(CC_target) -mmacosx-version-min=$(OSX_MIN_VERSION) --sysroot $(OSX_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/ -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_CFLAGS=-pipe
darwin_CXXFLAGS=$(darwin_CFLAGS)
@@ -20,4 +18,4 @@ darwin_release_CXXFLAGS=$(darwin_release_CFLAGS)
darwin_debug_CFLAGS=-O1
darwin_debug_CXXFLAGS=$(darwin_debug_CFLAGS)
-darwin_native_toolchain=native_cctools
+darwin_native_toolchain=native_cctools darwin_sdk