From: LLVM Packaging Team Date: Mon, 9 Jan 2017 20:24:17 +0000 (+0000) Subject: force-link-pass.o X-Git-Tag: archive/raspbian/1%3.8.1-17+rpi1~5^2~27 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=069f012bd0600a28e83a3c802d81db66ae1e40d3;p=llvm-toolchain-3.8.git force-link-pass.o =================================================================== Gbp-Pq: Name force-link-pass.o.diff --- diff --git a/tools/bugpoint/Makefile b/tools/bugpoint/Makefile index 174f8d25..dfde77cc 100644 --- a/tools/bugpoint/Makefile +++ b/tools/bugpoint/Makefile @@ -12,6 +12,9 @@ TOOLNAME := bugpoint LINK_COMPONENTS := asmparser instrumentation scalaropts ipo linker bitreader \ bitwriter irreader vectorize objcarcopts codegen +# Crappy workaround to make sure it links correctly. +LLVMLibsOptions := ../../lib/IR/Release*/Pass.o + # Support plugins. NO_DEAD_STRIP := 1 diff --git a/tools/opt/Makefile b/tools/opt/Makefile index 2422eb4e..79ab3f77 100644 --- a/tools/opt/Makefile +++ b/tools/opt/Makefile @@ -11,6 +11,9 @@ LEVEL := ../.. TOOLNAME := opt LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets codegen passes +# Crappy workaround to make sure it links correctly. +LLVMLibsOptions := ../../lib/IR/Release*/Pass.o + # Support plugins. NO_DEAD_STRIP := 1