summaryrefslogtreecommitdiff
path: root/tools/gold/Makefile
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-11-23 03:07:25 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-11-23 03:07:25 +0000
commit60e06d6ac2b9943537e2e22c3dfc324ae71b23e3 (patch)
treebc88f061338bdc643ab5fa73c4183f7c85c9ae8b /tools/gold/Makefile
parent47fb954f7437250eda152ed4165af5ac1c0ec366 (diff)
downloadllvm-60e06d6ac2b9943537e2e22c3dfc324ae71b23e3.tar.gz
llvm-60e06d6ac2b9943537e2e22c3dfc324ae71b23e3.tar.bz2
llvm-60e06d6ac2b9943537e2e22c3dfc324ae71b23e3.tar.xz
Point to libLTO with -L/PATH/ -lLTO so that it is found in the install
directory. Patch by Markus Trippelsdorf. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145095 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gold/Makefile')
-rw-r--r--tools/gold/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gold/Makefile b/tools/gold/Makefile
index 78eda03e34..02f66d73ee 100644
--- a/tools/gold/Makefile
+++ b/tools/gold/Makefile
@@ -24,6 +24,6 @@ include $(LEVEL)/Makefile.config
# Because off_t is used in the public API, the largefile parts are required for
# ABI compatibility.
CXXFLAGS += -I$(BINUTILS_INCDIR) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-CXXFLAGS += $(SharedLibDir)/$(SharedPrefix)LTO$(SHLIBEXT)
+CXXFLAGS += -L$(SharedLibDir)/$(SharedPrefix) -lLTO
include $(LEVEL)/Makefile.common