projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Strip dead code when linking by default with BFD ld (linux, ...) and ld64 (os x).
[oota-llvm.git]
/
tools
/
opt
/
Makefile
diff --git
a/tools/opt/Makefile
b/tools/opt/Makefile
index a451005574a55b591a0aeb04799ebcd86d635e5d..fa2d0145531953b9aae244fba226c2140bc51411 100644
(file)
--- a/
tools/opt/Makefile
+++ b/
tools/opt/Makefile
@@
-11,4
+11,7
@@
LEVEL := ../..
TOOLNAME := opt
LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets
+# Support plugins.
+NO_DEAD_STRIP := 1
+
include $(LEVEL)/Makefile.common