2021-04-28 03:27:32 -04: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-03 07:03:50 -03:00
|
|
|
build_darwin_AR:=$(shell xcrun -f ar)
|
|
|
|
build_darwin_RANLIB:=$(shell xcrun -f ranlib)
|
|
|
|
build_darwin_STRIP:=$(shell xcrun -f strip)
|
2024-01-30 06:37:37 -03:00
|
|
|
build_darwin_OBJDUMP:=$(shell xcrun -f objdump)
|
2018-11-03 07:03:50 -03:00
|
|
|
build_darwin_NM:=$(shell xcrun -f nm)
|
2022-04-15 12:54:27 -04:00
|
|
|
build_darwin_DSYMUTIL:=$(shell xcrun -f dsymutil)
|
2018-11-03 07:03:50 -03:00
|
|
|
build_darwin_SHA256SUM=shasum -a 256
|
|
|
|
build_darwin_DOWNLOAD=curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -o
|
2014-07-23 01:31:30 -04:00
|
|
|
|
|
|
|
#darwin host on darwin builder. overrides darwin host preferences.
|
2024-01-11 08:59:31 -03: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 01:31:30 -04:00
|
|
|
darwin_AR:=$(shell xcrun -f ar)
|
|
|
|
darwin_RANLIB:=$(shell xcrun -f ranlib)
|
|
|
|
darwin_STRIP:=$(shell xcrun -f strip)
|
2024-01-30 06:37:37 -03:00
|
|
|
darwin_OBJDUMP:=$(shell xcrun -f objdump)
|
2014-07-23 01:31:30 -04:00
|
|
|
darwin_NM:=$(shell xcrun -f nm)
|
2022-04-15 12:54:27 -04:00
|
|
|
darwin_DSYMUTIL:=$(shell xcrun -f dsymutil)
|
2021-11-26 09:19:27 -03:00
|
|
|
|
2021-12-19 13:32:01 -03: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
|