Update compiler-rt to simplify the port to Ubuntu precise

ubuntu-precise-compiler-rt.diff
This commit is contained in:
Sylvestre Ledru 2015-09-17 12:47:42 +00:00
parent 72d24bffaf
commit f51fa296bf
3 changed files with 21 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
llvm-toolchain-3.7 (1:3.7-3) UNRELEASED; urgency=medium
* Update compiler-rt to simplify the port to Ubuntu precise
ubuntu-precise-compiler-rt.diff
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 17 Sep 2015 14:47:17 +0200
llvm-toolchain-3.7 (1:3.7-2) unstable; urgency=medium
* Remove CVE-2015-2305.patch. Already fixed upstream in a different

View File

@ -43,3 +43,4 @@ locale-issue-ld.diff
bug783205.patch
fix-cmake-config-prefix.diff
kfreebsd-build-fix.patch
ubuntu-precise-compiler-rt.diff

View File

@ -0,0 +1,13 @@
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.