[ASan] don't build 64-bit runtime on 32-bit Linux platforms

llvm-svn: 165222
This commit is contained in:
Alexey Samsonov 2012-10-04 12:22:33 +00:00
parent c6ada69a14
commit 3197f8e6cb
1 changed files with 5 additions and 1 deletions

View File

@ -38,7 +38,11 @@ Arch.profile-x86_64 := x86_64
endif
# Configuration for ASAN runtime.
ifeq ($(call contains,i386 x86_64,$(CompilerTargetArch)),true)
ifeq ($(CompilerTargetArch),i386)
Configs += asan-i386
Arch.asan-i386 := i386
endif
ifeq ($(CompilerTargetArch),x86_64)
Configs += asan-i386 asan-x86_64
Arch.asan-i386 := i386
Arch.asan-x86_64 := x86_64