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/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/llvm-lto/Makefile b/tools/llvm-lto/Makefile
new file mode 100644
index 0000000000..1b1a1f8b38
--- /dev/null
+++ b/tools/llvm-lto/Makefile
@@ -0,0 +1,22 @@
+##===- tools/llvm-lto/Makefile -----------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LEVEL := ../..
+TOOLNAME := llvm-lto
+LINK_COMPONENTS := support
+
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS := 1
+
+NO_INSTALL := 1
+
+include $(LEVEL)/Makefile.common
+
+LDFLAGS += -L$(LibDir)
+LIBS += -lLTO