forked from OSchip/llvm-project
[ASan] If the iOS Simulator SDK is available, build the ASan iossim runtime using configure+make.
llvm-svn: 194816
This commit is contained in:
parent
f0f2d58086
commit
19e7bfdd8d
|
@ -94,6 +94,10 @@ ACTIVE_SDK_PATH := $(shell xcrun --show-sdk-path 2> /dev/null)
|
|||
ifneq ($(ACTIVE_SDK_PATH),)
|
||||
COMPILERRT_MAKE_FLAGS := SDKROOT=$(ACTIVE_SDK_PATH)
|
||||
endif
|
||||
IOSSIM_SDK_PATH := $(shell xcrun --show-sdk-path -sdk iphonesimulator 2> /dev/null)
|
||||
ifneq ($(IOSSIM_SDK_PATH),)
|
||||
RuntimeLibrary.darwin.Configs += asan_iossim_dynamic.dylib
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue