summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-12-02 00:52:55 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-12-02 00:52:55 +0000
commit7855275763348a191f88cf2c741618785d62fde7 (patch)
treeb74a6538196977a686c44eea110e595d15ab680c /make
parentfe18082eb32b4b8a9b9bee1f252fc9e7791aab2a (diff)
downloadcompiler-rt-7855275763348a191f88cf2c741618785d62fde7.tar.gz
compiler-rt-7855275763348a191f88cf2c741618785d62fde7.tar.bz2
compiler-rt-7855275763348a191f88cf2c741618785d62fde7.tar.xz
build/asan: Better fix for ASAN i386 build on Darwin, this causes us to see the
non-standard struct names. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@145658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'make')
-rw-r--r--make/platform/clang_darwin.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk
index cea3fa46..492fcfc8 100644
--- a/make/platform/clang_darwin.mk
+++ b/make/platform/clang_darwin.mk
@@ -103,12 +103,12 @@ 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.4
+CFLAGS.asan_osx := $(CFLAGS) -mmacosx-version-min=10.5
CFLAGS.asan_osx += \
-DASAN_USE_SYSINFO=1 \
-DASAN_NEEDS_SEGV=1 \
-DASAN_HAS_EXCEPTIONS=1 \
- -DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0 \
+ -DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0
CFLAGS.ios.i386 := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS)
CFLAGS.ios.x86_64 := $(CFLAGS) $(IOSSIM_DEPLOYMENT_ARGS)