summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-03-27 17:15:59 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-03-27 17:15:59 +0100
commit78021e63d946f658ba10abe1c8ba4a4b677be051 (patch)
treed12fbc6440c4699063501d25a0d3abdf698e081a /mk
parent581c7a54f06ae3977964aeacc962742a244db67c (diff)
downloadembtoolkit-78021e63d946f658ba10abe1c8ba4a4b677be051.tar.gz
embtoolkit-78021e63d946f658ba10abe1c8ba4a4b677be051.tar.bz2
embtoolkit-78021e63d946f658ba10abe1c8ba4a4b677be051.tar.xz
Toolchain: llvm/compiler-rt: use ASAN_ALLOCATOR_VERSION v1 for the moment
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r--mk/llvm/compiler-rt/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/mk/llvm/compiler-rt/Makefile b/mk/llvm/compiler-rt/Makefile
index d5efe12..c5d7418 100644
--- a/mk/llvm/compiler-rt/Makefile
+++ b/mk/llvm/compiler-rt/Makefile
@@ -75,6 +75,12 @@ CXX ?= g++
SANCOMMON_CFLAGS := -W -Wall -fPIC -fno-builtin -fno-exceptions
SANCOMMON_CFLAGS += -fomit-frame-pointer -funwind-tables
SANCOMMON_CFLAGS += -fvisibility=hidden
+#
+# FIXME: remove this avec full merge of compiler-rt/llvm/clang-3.3.
+# The copy of compiler-rt shipped with EmbToolkit was in the middle of
+# compiler-rt-3.3 development.
+#
+SANCOMMON_CFLAGS += -DASAN_ALLOCATOR_VERSION=1
ARFLAGS := rvs