refresh of the patches

This commit is contained in:
Sylvestre Ledru 2015-11-18 10:46:57 +00:00
parent 65e0ff1de9
commit 8490839ffd
2 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
Index: llvm-toolchain-snapshot_3.7~svn241915/tools/llvm-shlib/Makefile
Index: llvm-toolchain-3.7_3.7.1~+rc1/tools/llvm-shlib/Makefile
===================================================================
--- llvm-toolchain-snapshot_3.7~svn241915.orig/tools/llvm-shlib/Makefile
+++ llvm-toolchain-snapshot_3.7~svn241915/tools/llvm-shlib/Makefile
--- llvm-toolchain-3.7_3.7.1~+rc1.orig/tools/llvm-shlib/Makefile
+++ llvm-toolchain-3.7_3.7.1~+rc1/tools/llvm-shlib/Makefile
@@ -41,6 +41,12 @@ LLVMLibsOptions := $(IncludeInLibLlvm:$(
LLVMLibsPaths := $(IncludeInLibLlvm)
@ -19,8 +19,8 @@ Index: llvm-toolchain-snapshot_3.7~svn241915/tools/llvm-shlib/Makefile
ifeq ($(HOST_OS), $(filter $(HOST_OS), DragonFly Linux FreeBSD GNU/kFreeBSD GNU))
# Add soname to the library.
- LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) -Wl,-Bsymbolic-functions
- LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME).1$(SHLIBEXT)
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME).1$(SHLIBEXT) -Wl,-Bsymbolic-functions
endif
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD))

View File

@ -1,12 +1,12 @@
Index: llvm-toolchain-snapshot_3.7~svn241915/tools/llvm-shlib/Makefile
Index: llvm-toolchain-3.7_3.7.1~+rc1/tools/llvm-shlib/Makefile
===================================================================
--- llvm-toolchain-snapshot_3.7~svn241915.orig/tools/llvm-shlib/Makefile
+++ llvm-toolchain-snapshot_3.7~svn241915/tools/llvm-shlib/Makefile
--- llvm-toolchain-3.7_3.7.1~+rc1.orig/tools/llvm-shlib/Makefile
+++ llvm-toolchain-3.7_3.7.1~+rc1/tools/llvm-shlib/Makefile
@@ -67,7 +67,7 @@ endif
ifeq ($(HOST_OS), $(filter $(HOST_OS), DragonFly Linux FreeBSD GNU/kFreeBSD GNU))
# Add soname to the library.
- LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) -Wl,-Bsymbolic-functions
- LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME).1$(SHLIBEXT) -Wl,-Bsymbolic-functions
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT).1 -Wl,-Bsymbolic-functions
endif