From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo commit in src/patchsets/binutils/2.20.1: 75_all_binutils-default-test-flags.patch |
Date: | Thu, 31 May 2012 04:43:06 |
Message-Id: | 20120531044257.2E3952004B@flycatcher.gentoo.org |
1 | vapier 12/05/31 04:42:57 |
2 | |
3 | Modified: 75_all_binutils-default-test-flags.patch |
4 | Log: |
5 | adjust variable name to actually apply to this old version |
6 | |
7 | Revision Changes Path |
8 | 1.3 src/patchsets/binutils/2.20.1/75_all_binutils-default-test-flags.patch |
9 | |
10 | file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/75_all_binutils-default-test-flags.patch?rev=1.3&view=markup |
11 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/75_all_binutils-default-test-flags.patch?rev=1.3&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/75_all_binutils-default-test-flags.patch?r1=1.2&r2=1.3 |
13 | |
14 | Index: 75_all_binutils-default-test-flags.patch |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo/src/patchsets/binutils/2.20.1/75_all_binutils-default-test-flags.patch,v |
17 | retrieving revision 1.2 |
18 | retrieving revision 1.3 |
19 | diff -u -r1.2 -r1.3 |
20 | --- 75_all_binutils-default-test-flags.patch 18 Sep 2011 08:59:22 -0000 1.2 |
21 | +++ 75_all_binutils-default-test-flags.patch 31 May 2012 04:42:57 -0000 1.3 |
22 | @@ -26,10 +26,10 @@ |
23 | } |
24 | set ldexe [string replace $ldexe 0 [string last "/" $ldexe] ""] |
25 | if {[string match "*gcc*" $ldexe] || [string match "*++*" $ldexe]} then { |
26 | -- set ldflags "$gcc_ld_flag $ldflags" |
27 | -+ set ldflags "$gcc_ld_flag -Wl,--hash-style=sysv -Wl,-z,norelro $ldflags" |
28 | +- set flags "$gcc_ld_flag $flags" |
29 | ++ set flags "$gcc_ld_flag -Wl,--hash-style=sysv -Wl,-z,norelro $flags" |
30 | + } else { |
31 | -+ set ldflags "--hash-style=sysv -z norelro $ldflags" |
32 | ++ set flags "--hash-style=sysv -z norelro $flags" |
33 | } |
34 | |
35 | remote_file host delete $target |