Tools require EH for their top-level try blocks.
[oota-llvm.git] / tools / opt / Makefile
index 42e87ca8bb50608e1fc9beffe8c8dd69f684be65..f310639c08b29fc4c4026c816a3400bcc4c92c33 100644 (file)
@@ -8,11 +8,11 @@
 ##===----------------------------------------------------------------------===##
 LEVEL = ../..
 TOOLNAME = opt
+REQUIRES_EH := 1
 
-USEDLIBS = bcreader bcwriter \
-           instrument profpaths scalaropts \
-           ipo ipa datastructure transforms target.a analysis \
-           transformutils vmcore support
-TOOLLINKOPTS = $(PLATFORMLIBDL)
+USEDLIBS = LLVMBCReader.a LLVMBCWriter.a LLVMInstrumentation.a \
+          LLVMScalarOpts.a LLVMipo.a LLVMipa.a LLVMDataStructure LLVMTransforms.a \
+          LLVMTarget.a LLVMTransformUtils.a LLVMAnalysis.a LLVMCore.a LLVMSupport.a \
+          LLVMbzip2.a LLVMSystem.a 
 
 include $(LEVEL)/Makefile.common