[llvm-commits] [compiler-rt] r165096 - /compiler-rt/trunk/make/platform/clang_linux.mk
Alexey Samsonov
samsonov at google.com
Wed Oct 3 00:16:31 PDT 2012
Author: samsonov
Date: Wed Oct 3 02:16:31 2012
New Revision: 165096
URL: http://llvm.org/viewvc/llvm-project?rev=165096&view=rev
Log:
Build ASan runtime on Linux for both x86_64 and i386, same as we do with full compiler_rt and libprofile
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=165096&r1=165095&r2=165096&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/clang_linux.mk (original)
+++ compiler-rt/trunk/make/platform/clang_linux.mk Wed Oct 3 02:16:31 2012
@@ -38,12 +38,9 @@
endif
# Configuration for ASAN runtime.
-ifeq ($(CompilerTargetArch),i386)
-Configs += asan-i386
+ifeq ($(call contains,i386 x86_64,$(CompilerTargetArch)),true)
+Configs += asan-i386 asan-x86_64
Arch.asan-i386 := i386
-endif
-ifeq ($(CompilerTargetArch),x86_64)
-Configs += asan-x86_64
Arch.asan-x86_64 := x86_64
endif
More information about the llvm-commits
mailing list