TOOLNAME = bugpoint
-OPTLIBS = LLVMTransforms LLVMInstrumentation LLVMProfilePaths
-ANALIBS = LLVMDataStructure LLVMipa LLVMTarget.a
-
-USEDLIBS = LLVMipo LLVMScalarOpts LLVMAnalysis $(OPTLIBS) $(ANALIBS) \
- LLVMTransformUtils \
- LLVMAsmParser LLVMLinker.a LLVMBCReader LLVMBCWriter \
- LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a
+LINK_COMPONENTS := bcreader bcwriter asmparser instrumentation scalaropts ipo \
+ linker
+REQUIRES_EH := 1
include $(LEVEL)/Makefile.common