force-link-pass.o
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 force-link-pass.o.diff

tools/bugpoint/Makefile
tools/opt/Makefile

index 174f8d25161eef3c4e8f1c2262b27f593b68a52d..dfde77ccce6a4d3ea730acedfcbaf7fb525d452a 100644 (file)
@@ -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
 
index 2422eb4e40567649dd2303c02d63e03ae9c2c77b..79ab3f77cc395f309212870a63f992127efe9911 100644 (file)
@@ -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