summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2012-05-22 07:59:37 +0000
committerKostya Serebryany <kcc@google.com>2012-05-22 07:59:37 +0000
commit9003eae323f92d68b834f649de17774a21866f0d (patch)
tree882008eb9c727fd07d8948775c329c0d4dca0d58 /make
parentf4226aea2c553157ef2392ffa0b0c7ff57a68d4e (diff)
[asan] use -fno-builtin to build asan-rt on Mac
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157239 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'make')
-rw-r--r--make/platform/clang_darwin.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk
index d0c68e038..472592e16 100644
--- a/make/platform/clang_darwin.mk
+++ b/make/platform/clang_darwin.mk
@@ -106,7 +106,7 @@ IOSSIM_DEPLOYMENT_ARGS += -isysroot $(ProjSrcRoot)/SDKs/darwin
CFLAGS.eprintf := $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
CFLAGS.10.4 := $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
# FIXME: We can't build ASAN with our stub SDK yet.
-CFLAGS.asan_osx := $(CFLAGS) -mmacosx-version-min=10.5
+CFLAGS.asan_osx := $(CFLAGS) -mmacosx-version-min=10.5 -fno-builtin
CFLAGS.ios.i386 := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS)
CFLAGS.ios.x86_64 := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS)