llvm-toolchain/debian/patches/ubuntu-precise-compiler-rt.diff
Sylvestre Ledru f51fa296bf Update compiler-rt to simplify the port to Ubuntu precise
ubuntu-precise-compiler-rt.diff
2015-09-17 12:47:42 +00:00

14 lines
709 B
Diff

Index: llvm-toolchain-3.7-3.7/compiler-rt/make/platform/clang_linux.mk
===================================================================
--- llvm-toolchain-3.7-3.7.orig/compiler-rt/make/platform/clang_linux.mk
+++ llvm-toolchain-3.7-3.7/compiler-rt/make/platform/clang_linux.mk
@@ -21,7 +21,7 @@ ifneq ($(findstring -linux-,$(CompilerTa
# Define configs only if arch in triple is i386 or x86_64
CompilerTargetArch := $(firstword $(subst -, ,$(CompilerTargetTriple)))
-ifeq ($(call contains,i386 x86_64 i586,$(CompilerTargetArch)),true)
+ifeq ($(call contains,i386 x86_64 i586 i686,$(CompilerTargetArch)),true)
# TryCompile compiler source flags
# Returns exit code of running a compiler invocation.