summaryrefslogtreecommitdiff
path: root/tools/gold/Makefile
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-02-26 07:56:49 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-02-26 07:56:49 +0000
commitdcd158af278ec19be6d608acb4e358d36903c86f (patch)
treedc1243fbb6f48062edb839e1228dc27da57d3a44 /tools/gold/Makefile
parenta15dc035a6d4153bece7a067e037e5d6f5d58b16 (diff)
downloadllvm-dcd158af278ec19be6d608acb4e358d36903c86f.tar.gz
llvm-dcd158af278ec19be6d608acb4e358d36903c86f.tar.bz2
llvm-dcd158af278ec19be6d608acb4e358d36903c86f.tar.xz
Force 'llvm-config' to go first, optionally followed by lto and gold mixed in
with the rest of the parallel directories. Build lto when possible on all platforms. Make gold to explicitly depend on libLTO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65518 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gold/Makefile')
-rw-r--r--tools/gold/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gold/Makefile b/tools/gold/Makefile
index 37a7e4ef7f..eccffcbda6 100644
--- a/tools/gold/Makefile
+++ b/tools/gold/Makefile
@@ -21,6 +21,7 @@ BUILD_ARCHIVE = 0
DONT_BUILD_RELINKED = 1
LINK_COMPONENTS :=
+LIBS += -llto
include $(LEVEL)/Makefile.common