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

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

compiler-rt/make/platform/clang_linux.mk

index 870209f49ea8914c4e093d6b6a94e71d2dbff464..7d2380f7ee0babb24fda2fe65c7f359e1a0b6a8a 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