diff options
author | root <root@rshg054.dnsready.net> | 2012-02-16 23:15:21 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-16 23:15:21 +0000 |
commit | 76774d40da5ce246c9f2178fdf937706d99af4b2 (patch) | |
tree | d94469586899ec9ccf256ca7fab766f6e82f3cf1 /multilib-testing/lib32-llvm/fix-gold-lto-linking.patch | |
parent | 2e50a79768e42c26ff8850404f488425610abc0a (diff) |
Thu Feb 16 23:15:21 UTC 2012
Diffstat (limited to 'multilib-testing/lib32-llvm/fix-gold-lto-linking.patch')
-rw-r--r-- | multilib-testing/lib32-llvm/fix-gold-lto-linking.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/multilib-testing/lib32-llvm/fix-gold-lto-linking.patch b/multilib-testing/lib32-llvm/fix-gold-lto-linking.patch new file mode 100644 index 000000000..84d166471 --- /dev/null +++ b/multilib-testing/lib32-llvm/fix-gold-lto-linking.patch @@ -0,0 +1,11 @@ +diff -upr llvm-3.0.src.orig/tools/gold/Makefile llvm-3.0.src/tools/gold/Makefile +--- llvm-3.0.src.orig/tools/gold/Makefile 2011-05-31 23:00:45.000000000 +0300 ++++ llvm-3.0.src/tools/gold/Makefile 2011-12-04 22:06:59.000000000 +0200 +@@ -26,6 +26,6 @@ LINK_COMPONENTS := support + # 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) -lLTO + + include $(LEVEL)/Makefile.common |