diff options
author | root <root@rshg054.dnsready.net> | 2011-12-05 23:15:23 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-05 23:15:23 +0000 |
commit | 55d1e19e71b453a0f47c599f281a2ad2644247d2 (patch) | |
tree | e4988a18e52a5f283c69611807002a1a20c918ed /testing/llvm/fix-gold-lto-linking.patch | |
parent | 392d2d86b3657d90c3954a44dd6e3e5a4d12d455 (diff) |
Mon Dec 5 23:15:23 UTC 2011
Diffstat (limited to 'testing/llvm/fix-gold-lto-linking.patch')
-rw-r--r-- | testing/llvm/fix-gold-lto-linking.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/llvm/fix-gold-lto-linking.patch b/testing/llvm/fix-gold-lto-linking.patch new file mode 100644 index 000000000..84d166471 --- /dev/null +++ b/testing/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 |