Build ASan runtime on Linux for both x86_64 and i386, same as we do with full compile...
authorAlexey Samsonov <samsonov@google.com>
Wed, 3 Oct 2012 07:16:31 +0000 (07:16 +0000)
committerAlexey Samsonov <samsonov@google.com>
Wed, 3 Oct 2012 07:16:31 +0000 (07:16 +0000)
llvm-svn: 165096

compiler-rt/make/platform/clang_linux.mk

index f2b049f..fa33ee3 100644 (file)
@@ -38,12 +38,9 @@ Arch.profile-x86_64 := x86_64
 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