diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2025-07-13 22:44:29 +0200 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2025-07-13 22:44:29 +0200 |
| commit | 3508ad76f202cb2113c122bbf71647e81ef8741f (patch) | |
| tree | d024a149be7b7c5b251c4f697d106dd3b5a899fd /contrib/depends/hosts | |
| parent | 947c0d85c33c0db9b643aa4a4eefc447bd87f1f2 (diff) | |
fix: proper env for darwin hostrust-contrib-depends
Diffstat (limited to 'contrib/depends/hosts')
| -rw-r--r-- | contrib/depends/hosts/darwin.mk | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/contrib/depends/hosts/darwin.mk b/contrib/depends/hosts/darwin.mk index 45c3e92..0c63a10 100644 --- a/contrib/depends/hosts/darwin.mk +++ b/contrib/depends/hosts/darwin.mk @@ -5,13 +5,12 @@ 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 +darwin_CXX=clang++ darwin_RANLIB=$(host_prefix)/native/bin/$(host)-ranlib darwin_AR=$(host_prefix)/native/bin/$(host)-ar -darwin_CFLAGS=-pipe -darwin_CXXFLAGS=$(darwin_CFLAGS) +darwin_CFLAGS=-pipe -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_CXXFLAGS=$(darwin_CFLAGS) -stdlib=libc++ darwin_ARFLAGS=cr darwin_release_CFLAGS=-O3 |
