From: LLVM Packaging Team Date: Sun, 12 Mar 2017 08:49:18 +0000 (+0000) Subject: force-link-pass.o X-Git-Tag: archive/raspbian/1%3.8.1-18+rpi1^2~27 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4f04e705073f577948e433a661098712ce1b5dec;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