From fa6ba08b54a63b96aa2b8febe903bfc0eee21d4e Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Tue, 25 Apr 2017 17:46:34 +0000 Subject: [PATCH] force-link-pass.o =================================================================== Gbp-Pq: Name force-link-pass.o.diff --- tools/bugpoint/Makefile | 3 +++ tools/opt/Makefile | 3 +++ 2 files changed, 6 insertions(+) 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 -- 2.30.2