summaryrefslogtreecommitdiff
path: root/tools/llvm-lto/Makefile
diff options
context:
space:
mode:
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