From: LLVM Packaging Team Date: Fri, 2 Jun 2017 13:11:29 +0000 (+0000) Subject: force-link-pass.o X-Git-Tag: archive/raspbian/1%3.8.1-24+rpi1^2~30 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3c4a9f08e337a509429d3733f5a8677e44bffa73;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