[llvm-commits] [compiler-rt] r172055 - /compiler-rt/trunk/make/platform/clang_linux.mk

Evgeniy Stepanov eugeni.stepanov at gmail.com
Thu Jan 10 02:58:15 PST 2013


Author: eugenis
Date: Thu Jan 10 04:58:14 2013
New Revision: 172055

URL: http://llvm.org/viewvc/llvm-project?rev=172055&view=rev
Log:
[asan] Add soname to the dynamic runtime.

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=172055&r1=172054&r2=172055&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/clang_linux.mk (original)
+++ compiler-rt/trunk/make/platform/clang_linux.mk Thu Jan 10 04:58:14 2013
@@ -96,7 +96,8 @@
 	-B$(LLVM_ANDROID_TOOLCHAIN_DIR)
 CFLAGS.asan-arm-android := $(CFLAGS) -fPIC -fno-builtin \
 	$(ANDROID_COMMON_FLAGS) -mllvm -arm-enable-ehabi
-LDFLAGS.asan-arm-android := $(LDFLAGS) $(ANDROID_COMMON_FLAGS) -ldl
+LDFLAGS.asan-arm-android := $(LDFLAGS) $(ANDROID_COMMON_FLAGS) -ldl \
+	-Wl,-soname=libclang_rt.asan-arm-android.so
 
 # Use our stub SDK as the sysroot to support more portable building. For now we
 # just do this for the non-ASAN modules, because the stub SDK doesn't have





More information about the llvm-commits mailing list