summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/bugpoint/Makefile8
-rw-r--r--tools/bugpoint/bugpoint.cpp2
2 files changed, 6 insertions, 4 deletions
diff --git a/tools/bugpoint/Makefile b/tools/bugpoint/Makefile
index e5eacd0cb1..fdb587ccea 100644
--- a/tools/bugpoint/Makefile
+++ b/tools/bugpoint/Makefile
@@ -10,11 +10,11 @@ LEVEL = ../..
TOOLNAME = bugpoint
-OPTLIBS = LLVMTransforms LLVMInstrumentation LLVMProfilePaths
-ANALIBS = LLVMDataStructure LLVMipa LLVMTarget.a
+OPTLIBS = LLVMTransforms.a LLVMInstrumentation.a LLVMProfilePaths
+ANALIBS = LLVMDataStructure LLVMipa.a LLVMTarget.a
-USEDLIBS = LLVMipo LLVMScalarOpts LLVMAnalysis $(OPTLIBS) $(ANALIBS) \
- LLVMTransformUtils \
+USEDLIBS = LLVMipo.a LLVMScalarOpts.a $(OPTLIBS) $(ANALIBS) LLVMAnalysis.a \
+ LLVMTransformUtils.a \
LLVMAsmParser LLVMLinker.a LLVMBCReader LLVMBCWriter \
LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a
diff --git a/tools/bugpoint/bugpoint.cpp b/tools/bugpoint/bugpoint.cpp
index a4442c7ef9..0f25cf8a50 100644
--- a/tools/bugpoint/bugpoint.cpp
+++ b/tools/bugpoint/bugpoint.cpp
@@ -14,6 +14,8 @@
//===----------------------------------------------------------------------===//
#include "BugDriver.h"
+#include "llvm/Analysis/LinkAllAnalyses.h"
+#include "llvm/Transforms/LinkAllPasses.h"
#include "llvm/Support/PassNameParser.h"
#include "llvm/Support/ToolRunner.h"
#include "llvm/Support/CommandLine.h"