compiler-rt-path
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Tue, 25 Apr 2017 17:46:34 +0000 (17:46 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Tue, 25 Apr 2017 17:46:34 +0000 (17:46 +0000)
===================================================================

Gbp-Pq: Name compiler-rt-path.diff

compiler-rt/make/platform/clang_linux.mk

index bf5ee4a928fe20f3776f001f0de33da0f0ae56ac..0a47ac7a24a96814d9949f93c93c850d57b2372e 100644 (file)
@@ -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