diff --git a/debian/patches/compiler-rt-i586.diff b/debian/patches/compiler-rt-i586.diff index 43d0f1e8..3d92fca9 100644 --- a/debian/patches/compiler-rt-i586.diff +++ b/debian/patches/compiler-rt-i586.diff @@ -1,7 +1,7 @@ -Index: llvm-toolchain-snapshot_3.7~svn229683/compiler-rt/make/platform/clang_linux.mk +Index: llvm-toolchain-snapshot_3.7~svn229829/compiler-rt/make/platform/clang_linux.mk =================================================================== ---- llvm-toolchain-snapshot_3.7~svn229683.orig/compiler-rt/make/platform/clang_linux.mk -+++ llvm-toolchain-snapshot_3.7~svn229683/compiler-rt/make/platform/clang_linux.mk +--- llvm-toolchain-snapshot_3.7~svn229829.orig/compiler-rt/make/platform/clang_linux.mk ++++ llvm-toolchain-snapshot_3.7~svn229829/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 @@ -20,15 +20,15 @@ Index: llvm-toolchain-snapshot_3.7~svn229683/compiler-rt/make/platform/clang_lin SupportedArches := i386 ifeq ($(call TryCompile,$(CC),$(test_source),-m64),0) SupportedArches += x86_64 -Index: llvm-toolchain-snapshot_3.7~svn229683/clang/runtime/compiler-rt/Makefile +Index: llvm-toolchain-snapshot_3.7~svn229829/clang/runtime/compiler-rt/Makefile =================================================================== ---- llvm-toolchain-snapshot_3.7~svn229683.orig/clang/runtime/compiler-rt/Makefile -+++ llvm-toolchain-snapshot_3.7~svn229683/clang/runtime/compiler-rt/Makefile -@@ -165,6 +165,7 @@ BuildRuntimeLibraries: +--- llvm-toolchain-snapshot_3.7~svn229829.orig/clang/runtime/compiler-rt/Makefile ++++ llvm-toolchain-snapshot_3.7~svn229829/clang/runtime/compiler-rt/Makefile +@@ -158,6 +158,7 @@ BuildRuntimeLibraries: ProjSrcRoot=$(COMPILERRT_SRC_ROOT) \ ProjObjRoot=$(PROJ_OBJ_DIR) \ CC="$(ToolDir)/clang" \ + LD_LIBRARY_PATH=../build-llvm/Release/lib \ VERBOSE=$(VERBOSE) \ - LLVM_ANDROID_TOOLCHAIN_DIR="$(LLVM_ANDROID_TOOLCHAIN_DIR)" \ $(RuntimeDirs:%=clang_%) + .PHONY: BuildRuntimeLibraries