summaryrefslogtreecommitdiffstats
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
commita20890b6bc14fe37e0eecd30511a19e7304177cc (patch)
tree82fefe6df981d6f0ee15840a65cea2c9f36065e8
parentc84461dbfe0dffa1de3c4bb7a70f3e41cf740089 (diff)
downloadbcm5719-llvm-a20890b6bc14fe37e0eecd30511a19e7304177cc.tar.gz
bcm5719-llvm-a20890b6bc14fe37e0eecd30511a19e7304177cc.zip
[asan] use -fno-builtin to build asan-rt on Mac
llvm-svn: 157239
-rw-r--r--compiler-rt/make/platform/clang_darwin.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/make/platform/clang_darwin.mk b/compiler-rt/make/platform/clang_darwin.mk
index d0c68e03874..472592e16df 100644
--- a/compiler-rt/make/platform/clang_darwin.mk
+++ b/compiler-rt/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)
OpenPOWER on IntegriCloud