summaryrefslogtreecommitdiff
path: root/tools/llvm-lto/Makefile
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-09-24 23:52:22 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-09-24 23:52:22 +0000
commitcc48854d5d51a2d7557f1040a61f160ad86c9729 (patch)
tree8b1852fb26b556df1366f94f1ab652b995a0ab36 /tools/llvm-lto/Makefile
parent85509802eba15c82ff486f512a0b559699dc6999 (diff)
downloadllvm-cc48854d5d51a2d7557f1040a61f160ad86c9729.tar.gz
llvm-cc48854d5d51a2d7557f1040a61f160ad86c9729.tar.bz2
llvm-cc48854d5d51a2d7557f1040a61f160ad86c9729.tar.xz
Move LTO support library to a component, allowing it to be tested
more reliably across platforms. Patch by Tom Roeder! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191343 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-lto/Makefile')
-rw-r--r--tools/llvm-lto/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/llvm-lto/Makefile b/tools/llvm-lto/Makefile
index 1b1a1f8b38..f1801b4b20 100644
--- a/tools/llvm-lto/Makefile
+++ b/tools/llvm-lto/Makefile
@@ -9,7 +9,7 @@
LEVEL := ../..
TOOLNAME := llvm-lto
-LINK_COMPONENTS := support
+LINK_COMPONENTS := lto ipo scalaropts linker bitreader bitwriter mcdisassembler support target vectorize all-targets
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS := 1
@@ -17,6 +17,3 @@ TOOL_NO_EXPORTS := 1
NO_INSTALL := 1
include $(LEVEL)/Makefile.common
-
-LDFLAGS += -L$(LibDir)
-LIBS += -lLTO