2021-08-26 09:48:33 +02:00
|
|
|
build_darwin_CC:=$(shell xcrun -f clang) -isysroot$(shell xcrun --show-sdk-path)
|
|
|
|
build_darwin_CXX:=$(shell xcrun -f clang++) -isysroot$(shell xcrun --show-sdk-path)
|
2018-11-05 11:43:40 +01:00
|
|
|
build_darwin_AR:=$(shell xcrun -f ar)
|
|
|
|
build_darwin_RANLIB:=$(shell xcrun -f ranlib)
|
|
|
|
build_darwin_STRIP:=$(shell xcrun -f strip)
|
2024-11-04 15:49:59 +01:00
|
|
|
build_darwin_OBJDUMP:=$(shell xcrun -f objdump)
|
2018-11-05 11:43:40 +01:00
|
|
|
build_darwin_NM:=$(shell xcrun -f nm)
|
|
|
|
build_darwin_SHA256SUM=shasum -a 256
|
2024-07-11 18:31:07 +02:00
|
|
|
build_darwin_DOWNLOAD=curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -o
|
2014-07-23 07:31:30 +02:00
|
|
|
|
|
|
|
#darwin host on darwin builder. overrides darwin host preferences.
|
2024-11-07 07:00:25 +01:00
|
|
|
darwin_CC=$(shell xcrun -f clang) -isysroot$(shell xcrun --show-sdk-path)
|
|
|
|
darwin_CXX:=$(shell xcrun -f clang++) -stdlib=libc++ -isysroot$(shell xcrun --show-sdk-path)
|
2014-07-23 07:31:30 +02:00
|
|
|
darwin_AR:=$(shell xcrun -f ar)
|
|
|
|
darwin_RANLIB:=$(shell xcrun -f ranlib)
|
|
|
|
darwin_STRIP:=$(shell xcrun -f strip)
|
2024-11-04 15:49:59 +01:00
|
|
|
darwin_OBJDUMP:=$(shell xcrun -f objdump)
|
2014-07-23 07:31:30 +02:00
|
|
|
darwin_NM:=$(shell xcrun -f nm)
|
2021-08-26 11:34:32 +02:00
|
|
|
darwin_native_binutils=
|
2014-07-23 07:31:30 +02:00
|
|
|
darwin_native_toolchain=
|
2021-11-26 13:19:27 +01:00
|
|
|
|
2023-06-20 09:15:17 +02:00
|
|
|
x86_64_darwin_CFLAGS += -arch x86_64
|
|
|
|
x86_64_darwin_CXXFLAGS += -arch x86_64
|
|
|
|
aarch64_darwin_CFLAGS += -arch arm64
|
|
|
|
aarch64_darwin_CXXFLAGS += -arch arm64
|