diff options
author | root <root@rshg054.dnsready.net> | 2012-04-28 00:01:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-28 00:01:35 +0000 |
commit | 00f77ef3b2b7856520daba393370f67b773c2184 (patch) | |
tree | ac5b63574a95d0d851e012957254f7456ced564f /testing/llvm/fix-gold-lto-linking.patch | |
parent | 5233daa5825f00ccf0722ef9733ea6b3bbd44bc8 (diff) |
Sat Apr 28 00:01:35 UTC 2012
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 |