mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-14 15:46:21 +00:00
refresh of the patches
This commit is contained in:
parent
65e0ff1de9
commit
8490839ffd
10
debian/patches/0021-shared-lib-debian.patch
vendored
10
debian/patches/0021-shared-lib-debian.patch
vendored
@ -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-3.7_3.7.1~+rc1.orig/tools/llvm-shlib/Makefile
|
||||||
+++ llvm-toolchain-snapshot_3.7~svn241915/tools/llvm-shlib/Makefile
|
+++ llvm-toolchain-3.7_3.7.1~+rc1/tools/llvm-shlib/Makefile
|
||||||
@@ -41,6 +41,12 @@ LLVMLibsOptions := $(IncludeInLibLlvm:$(
|
@@ -41,6 +41,12 @@ LLVMLibsOptions := $(IncludeInLibLlvm:$(
|
||||||
LLVMLibsPaths := $(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))
|
ifeq ($(HOST_OS), $(filter $(HOST_OS), DragonFly Linux FreeBSD GNU/kFreeBSD GNU))
|
||||||
# Add soname to the library.
|
# Add soname to the library.
|
||||||
- LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
|
- LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME).1$(SHLIBEXT)
|
||||||
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) -Wl,-Bsymbolic-functions
|
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME).1$(SHLIBEXT) -Wl,-Bsymbolic-functions
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD))
|
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD))
|
||||||
|
8
debian/patches/0044-soname.diff
vendored
8
debian/patches/0044-soname.diff
vendored
@ -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-3.7_3.7.1~+rc1.orig/tools/llvm-shlib/Makefile
|
||||||
+++ llvm-toolchain-snapshot_3.7~svn241915/tools/llvm-shlib/Makefile
|
+++ llvm-toolchain-3.7_3.7.1~+rc1/tools/llvm-shlib/Makefile
|
||||||
@@ -67,7 +67,7 @@ endif
|
@@ -67,7 +67,7 @@ endif
|
||||||
|
|
||||||
ifeq ($(HOST_OS), $(filter $(HOST_OS), DragonFly Linux FreeBSD GNU/kFreeBSD GNU))
|
ifeq ($(HOST_OS), $(filter $(HOST_OS), DragonFly Linux FreeBSD GNU/kFreeBSD GNU))
|
||||||
# Add soname to the library.
|
# 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
|
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT).1 -Wl,-Bsymbolic-functions
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user