Remove extra target.a entry
[oota-llvm.git] / tools / opt / Makefile
index 604e4766e15cc498c6744708a2964bbe15cee044..6c6e0fb98a427f4b6a5cb07d44c5430167519c1b 100644 (file)
@@ -1,6 +1,15 @@
 LEVEL = ../..
 TOOLNAME = opt
-USEDLIBS = opt bcreader bcwriter asmwriter analysis vmcore support instrument
+
+USEDLIBS = bcreader bcwriter instrument profpaths \
+          sparc mapping regalloc.a sched select codegen preopts \
+           postopts.a \
+          livevar scalaropts \
+          ipo ipa.a datastructure transforms target.a analysis \
+           transformutils vmcore support
+
+TOOLLINKOPTS = -ldl
+KEEP_SYMBOLS = 1
 
 include $(LEVEL)/Makefile.common