llvm-toolchain/debian/patches/0044-soname.diff
Sylvestre Ledru 621afe854a * Sync recent changes from the 3.3 branch
* Integrate patch to fix FTBFS under IA64.
* Disable the usage of binutils-gold under armel. It currently fails with:
  "attempt to map 2752512 bytes at offset 2066666 exceeds size of file;
  the file may be corrupt"
2013-07-01 12:40:22 +00:00

14 lines
737 B
Diff

Index: llvm-toolchain-snapshot_3.4~svn185325/tools/llvm-shlib/Makefile
===================================================================
--- llvm-toolchain-snapshot_3.4~svn185325.orig/tools/llvm-shlib/Makefile 2013-07-01 13:28:34.000000000 +0200
+++ llvm-toolchain-snapshot_3.4~svn185325/tools/llvm-shlib/Makefile 2013-07-01 13:28:34.000000000 +0200
@@ -76,7 +76,7 @@
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU/kFreeBSD GNU))
# Add soname to the library.
- LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) -Wl,-Bsymbolic-functions
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT).1 -Wl,-Bsymbolic-functions
endif
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD))