From 11c9581a4a381cf91d76eb918e5c8520dc5e7258 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Fri, 22 May 2015 13:06:53 +0300 Subject: llvm copy from gentoo repo --- sys-devel/llvm/files/llvm-3.0-set_soname.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sys-devel/llvm/files/llvm-3.0-set_soname.patch (limited to 'sys-devel/llvm/files/llvm-3.0-set_soname.patch') diff --git a/sys-devel/llvm/files/llvm-3.0-set_soname.patch b/sys-devel/llvm/files/llvm-3.0-set_soname.patch new file mode 100644 index 0000000..69ba74d --- /dev/null +++ b/sys-devel/llvm/files/llvm-3.0-set_soname.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/show_bug.cgi?id=409267 +http://llvm.org/bugs/show_bug.cgi?id=12334 +--- tools/llvm-shlib/Makefile.orig 2012-03-26 18:14:13.071797115 +0200 ++++ tools/llvm-shlib/Makefile 2012-03-26 17:31:12.491196254 +0200 +@@ -67,6 +67,7 @@ + # Include everything from the .a's into the shared library. + LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) \ + -Wl,--no-whole-archive ++ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) + endif + + ifeq ($(HOST_OS),Linux) -- cgit v1.2.3