diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-11-23 03:07:25 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-11-23 03:07:25 +0000 |
commit | 60e06d6ac2b9943537e2e22c3dfc324ae71b23e3 (patch) | |
tree | bc88f061338bdc643ab5fa73c4183f7c85c9ae8b /tools | |
parent | 47fb954f7437250eda152ed4165af5ac1c0ec366 (diff) |
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')
-rw-r--r-- | tools/gold/Makefile | 2 |
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 |