Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/libtool/files/
Date: Sat, 04 Feb 2017 21:22:43
Message-Id: 1486243257.bed9af4edef864395f57412fa1cb4bcc58514a14.soap@gentoo
1 commit: bed9af4edef864395f57412fa1cb4bcc58514a14
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 3 15:24:12 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 4 21:20:57 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bed9af4e
7
8 sys-devel/libtool: remove unused patch
9
10 Closes: https://github.com/gentoo/gentoo/pull/3791
11
12 .../libtool/files/libtool-2.4.6-fuse-ld.patch | 53 ----------------------
13 1 file changed, 53 deletions(-)
14
15 diff --git a/sys-devel/libtool/files/libtool-2.4.6-fuse-ld.patch b/sys-devel/libtool/files/libtool-2.4.6-fuse-ld.patch
16 deleted file mode 100644
17 index c352d52..00000000
18 --- a/sys-devel/libtool/files/libtool-2.4.6-fuse-ld.patch
19 +++ /dev/null
20 @@ -1,53 +0,0 @@
21 -From 2f258b87ce4415edede1b2a84a3a7dbcf44555c2 Mon Sep 17 00:00:00 2001
22 -From: Mike Frysinger <vapier@g.o>
23 -Date: Mon, 16 Mar 2015 18:17:31 -0400
24 -Subject: [PATCH] libtool: pass through -fuse-ld flags
25 -
26 -Starting with gcc-4.8, there's a -fuse-ld flag that can be used to select
27 -between bfd & gold. Make sure we pass it through to the linking stage.
28 -
29 -* build-aux/ltmain.in (func_mode_link): Pass -fuse-ld=* flags through.
30 ----
31 - build-aux/ltmain.in | 4 +++-
32 - 1 file changed, 3 insertions(+), 1 deletion(-)
33 -
34 -diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
35 -index d5cf07a..0fc8279 100644
36 ---- a/build-aux/ltmain.in
37 -+++ b/build-aux/ltmain.in
38 -@@ -5360,10 +5360,12 @@ func_mode_link ()
39 - # -tp=* Portland pgcc target processor selection
40 - # --sysroot=* for sysroot support
41 - # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
42 -+ # -fuse-ld=* Linker select flags for GCC
43 - # -stdlib=* select c++ std lib with clang
44 - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
45 - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
46 -- -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
47 -+ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
48 -+ -fuse-ld=*)
49 - func_quote_for_eval "$arg"
50 - arg=$func_quote_for_eval_result
51 - func_append compile_command " $arg"
52 -
53 -patch the generated file too to keep help2man from generating man pages
54 -https://bugs.gentoo.org/556512
55 -
56 ---- a/build-aux/ltmain.sh
57 -+++ b/build-aux/ltmain.sh
58 -@@ -5360,10 +5360,12 @@ func_mode_link ()
59 - # -tp=* Portland pgcc target processor selection
60 - # --sysroot=* for sysroot support
61 - # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
62 -+ # -fuse-ld=* Linker select flags for GCC
63 - # -stdlib=* select c++ std lib with clang
64 - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
65 - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
66 -- -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
67 -+ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
68 -+ -fuse-ld=*)
69 - func_quote_for_eval "$arg"
70 - arg=$func_quote_for_eval_result
71 - func_append compile_command " $arg"
72 ---
73 -2.3.2