From db992871868308faf77c21e1a8dac40f0e6b0108 Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Fri, 22 Dec 2017 10:17:30 +0000 Subject: [PATCH] compiler-rt-path =================================================================== Gbp-Pq: Name compiler-rt-path.diff --- compiler-rt/make/platform/clang_linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2