summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2013-11-19 13:24:29 +0000
committerAlexander Potapenko <glider@google.com>2013-11-19 13:24:29 +0000
commitda4390ef120884113c8329094d61201408d2e417 (patch)
treec84b5f0b0eba165bf21bdc2dfb4d52eb59fa9672 /make
parent8f3f7c49b9b79a73bd897d242ae82536944119e4 (diff)
[ASan] Don't put asan_iossim_dynamic in the list of configurations to build
if the iOS Simulator SDK is missing on the machine. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@195125 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'make')
-rw-r--r--make/platform/clang_darwin.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk
index 02f0a80fc..c87ba477e 100644
--- a/make/platform/clang_darwin.mk
+++ b/make/platform/clang_darwin.mk
@@ -88,8 +88,10 @@ UniversalArchs.profile_ios := $(call CheckArches,i386 x86_64 armv7,profile_ios)
Configs += asan_osx_dynamic
UniversalArchs.asan_osx_dynamic := $(call CheckArches,i386 x86_64,asan_osx_dynamic)
+ifneq ($(IOSSIM_SDK_PATH),)
Configs += asan_iossim_dynamic
UniversalArchs.asan_iossim_dynamic := $(call CheckArches,i386 x86_64,asan_iossim_dynamic)
+endif
Configs += ubsan_osx
UniversalArchs.ubsan_osx := $(call CheckArches,i386 x86_64,ubsan_osx)