[compiler-rt] r180265 - Add -fno-rtti to ASan runtime cflags on Android.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Thu Apr 25 07:58:23 PDT 2013
Author: eugenis
Date: Thu Apr 25 09:58:23 2013
New Revision: 180265
URL: http://llvm.org/viewvc/llvm-project?rev=180265&view=rev
Log:
Add -fno-rtti to ASan runtime cflags on Android.
Otherwise we are picking up an extra libstdc++ dependency.
Modified:
compiler-rt/trunk/make/platform/clang_linux.mk
Modified: compiler-rt/trunk/make/platform/clang_linux.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/platform/clang_linux.mk?rev=180265&r1=180264&r2=180265&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/clang_linux.mk (original)
+++ compiler-rt/trunk/make/platform/clang_linux.mk Thu Apr 25 09:58:23 2013
@@ -108,7 +108,7 @@ ANDROID_COMMON_FLAGS := -target arm-linu
--sysroot=$(LLVM_ANDROID_TOOLCHAIN_DIR)/sysroot \
-B$(LLVM_ANDROID_TOOLCHAIN_DIR)
CFLAGS.asan-arm-android := $(CFLAGS) -fPIC -fno-builtin \
- $(ANDROID_COMMON_FLAGS) -mllvm -arm-enable-ehabi
+ $(ANDROID_COMMON_FLAGS) -mllvm -arm-enable-ehabi -fno-rtti
LDFLAGS.asan-arm-android := $(LDFLAGS) $(ANDROID_COMMON_FLAGS) -ldl \
-Wl,-soname=libclang_rt.asan-arm-android.so
More information about the llvm-commits
mailing list