diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2013-09-19 22:15:52 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-09-19 22:15:52 +0000 |
commit | 88fae0edcce84920ba7c5685c36f6bd6cfb9b86d (patch) | |
tree | c1956347a81b84b10b8310d7dbc7e28443d33c05 /tools/llvm-lto/Makefile | |
parent | 617305a0eb086f34a1005c8be2af3eea4a2a715d (diff) | |
download | external_llvm-88fae0edcce84920ba7c5685c36f6bd6cfb9b86d.zip external_llvm-88fae0edcce84920ba7c5685c36f6bd6cfb9b86d.tar.gz external_llvm-88fae0edcce84920ba7c5685c36f6bd6cfb9b86d.tar.bz2 |
Fix LTO handling of module-level assembly (PR14152).
Patch by Tom Roeder!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-lto/Makefile')
-rw-r--r-- | tools/llvm-lto/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/llvm-lto/Makefile b/tools/llvm-lto/Makefile new file mode 100644 index 0000000..1b1a1f8 --- /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 |