[packages/libtool] Add patch to fix -fuse-ld= not being passed to gcc (patch from ROSA Linux). Release 13
megabajt
megabajt at pld-linux.org
Fri Jul 26 22:48:09 CEST 2013
commit 50d97f5e017175ebb16ab4622e9a4ba7814ec4e9
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date: Fri Jul 26 22:44:52 2013 +0200
Add patch to fix -fuse-ld= not being passed to gcc (patch from ROSA Linux). Release 13
libtool-fuse-ld.patch | 12 ++++++++++++
libtool.spec | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/libtool.spec b/libtool.spec
index f4f186c..21d4642 100644
--- a/libtool.spec
+++ b/libtool.spec
@@ -6,7 +6,7 @@ Summary(ru.UTF-8): GNU libtool, набор утилит для генераци
Summary(uk.UTF-8): GNU libtool, набір утиліт для генерації динамічних бібліотек
Name: libtool
Version: 2.4.2
-Release: 12
+Release: 13
Epoch: 2
License: GPL v2+
Group: Development/Tools
@@ -19,6 +19,7 @@ Patch1: %{name}-relink.patch
Patch2: %{name}-libdirs.patch
Patch3: %{name}-multilib.patch
Patch4: %{name}-linking-order.patch
+Patch5: %{name}-fuse-ld.patch
URL: http://www.gnu.org/software/libtool/
BuildRequires: /usr/bin/which
BuildRequires: autoconf >= 2.59
@@ -147,6 +148,7 @@ utilizando componentes estáticos (raramente necessário).
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%build
%{__aclocal} -I libltdl/m4
diff --git a/libtool-fuse-ld.patch b/libtool-fuse-ld.patch
new file mode 100644
index 0000000..1cf1d17
--- /dev/null
+++ b/libtool-fuse-ld.patch
@@ -0,0 +1,12 @@
+diff -urN libtool-2.4.2/libltdl/config/ltmain.sh libtool-2.4.2-patched/libltdl/config/ltmain.sh
+--- libtool-2.4.2/libltdl/config/ltmain.m4sh 2011-10-17 21:19:35.000000000 +1100
++++ libtool-2.4.2-patched/libltdl/config/ltmain.m4sh 2012-09-30 01:55:35.606361949 +1100
+@@ -5853,7 +5853,7 @@
+ # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
+- -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
++ -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-fuse-ld=*)
+ func_quote_for_eval "$arg"
+ arg="$func_quote_for_eval_result"
+ func_append compile_command " $arg"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libtool.git/commitdiff/50d97f5e017175ebb16ab4622e9a4ba7814ec4e9
More information about the pld-cvs-commit
mailing list