projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3677a6
)
Pass -lLTO after gold-plugin.o so that it gets used in systems that default to
author
Rafael Espindola
<rafael.espindola@gmail.com>
Mon, 27 Aug 2012 03:03:07 +0000
(
03:03
+0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Mon, 27 Aug 2012 03:03:07 +0000
(
03:03
+0000)
--as-needed.
Patch by Felix Geyer. Fixes pr13262.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162652
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/gold/Makefile
patch
|
blob
|
history
diff --git
a/tools/gold/Makefile
b/tools/gold/Makefile
index 02f66d73eedcc37a3673790bcf0d9be7055556d9..496e31cc391acef9621fdd44f8be8bdd5151c05f 100644
(file)
--- a/
tools/gold/Makefile
+++ b/
tools/gold/Makefile
@@
-24,6
+24,8
@@
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 += -L$(SharedLibDir)/$(SharedPrefix) -lLTO
+LDFLAGS += -L$(SharedLibDir)/$(SharedPrefix)
include $(LEVEL)/Makefile.common
+
+LIBS += -lLTO