Strip dead code when linking by default with BFD ld (linux, ...) and ld64 (os x).
[oota-llvm.git] / tools / bugpoint / Makefile
index acafa838d0d1bcd46bb0752fe7f9dbea43a9eeff..96c0fcf519e651d6900072ef8d982935ffabb827 100644 (file)
@@ -2,16 +2,17 @@
 # 
 #                     The LLVM Compiler Infrastructure
 #
-# This file was developed by the LLVM research group and is distributed under
-# the University of Illinois Open Source License. See LICENSE.TXT for details.
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
-LEVEL = ../..
 
-TOOLNAME = bugpoint
+LEVEL := ../..
+TOOLNAME := bugpoint
+LINK_COMPONENTS := asmparser instrumentation scalaropts ipo linker bitreader \
+                   bitwriter irreader vectorize objcarcopts
 
-LINK_COMPONENTS := bcreader bcwriter asmparser instrumentation scalaropts ipo \
-                   linker
-REQUIRES_EH := 1
+# Support plugins.
+NO_DEAD_STRIP := 1
 
 include $(LEVEL)/Makefile.common