From: LLVM Packaging Team Date: Fri, 13 Oct 2017 21:42:29 +0000 (+0100) Subject: compiler-rt-path X-Git-Tag: archive/raspbian/1%3.9.1-19+rpi1^2^2~34 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2e196243bd6fc20b9525e535824ac69073b09c53;p=llvm-toolchain-3.9.git compiler-rt-path =================================================================== Gbp-Pq: Name compiler-rt-path.diff --- diff --git a/compiler-rt/make/platform/clang_linux.mk b/compiler-rt/make/platform/clang_linux.mk index 870209f4..7d2380f7 100644 --- a/compiler-rt/make/platform/clang_linux.mk +++ b/compiler-rt/make/platform/clang_linux.mk @@ -11,7 +11,7 @@ Configs := # cross compilers). For now, we just find the target architecture of the # compiler and only define configurations we know that compiler can generate. CompilerTargetTriple := $(shell \ - LANG=C $(CC) -v 2>&1 | grep 'Target:' | cut -d' ' -f2) + LD_LIBRARY_PATH=../build-llvm/Release/lib LANG=C $(CC) -v 2>&1 | grep 'Target:' | cut -d' ' -f2) ifeq ($(CompilerTargetTriple),) $(error "unable to infer compiler target triple for $(CC)") endif