Gentoo Archives: gentoo-commits

From: Magnus Granberg <zorry@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:master commit in: eclass/
Date: Sun, 01 May 2016 19:43:03
Message-Id: 1462130674.d45e7e6148a392e3200a7c6c17ff2888cbf26b64.zorry@gentoo
1 commit: d45e7e6148a392e3200a7c6c17ff2888cbf26b64
2 Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 1 19:24:34 2016 +0000
4 Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 19:24:34 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-dev.git/commit/?id=d45e7e61
7
8 dont use .specs files when install
9
10 eclass/toolchain.eclass | 5 +++++
11 1 file changed, 5 insertions(+)
12
13 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
14 index 3106641..247dcee 100644
15 --- a/eclass/toolchain.eclass
16 +++ b/eclass/toolchain.eclass
17 @@ -1937,6 +1937,11 @@ create_gcc_env_entry() {
18 }
19
20 copy_minispecs_gcc_specs() {
21 + # on gcc 6 we don't need minispecs
22 + if tc_version_is_at_least 6.0 ; then
23 + return 0
24 + fi
25 +
26 # setup the hardenedno* specs files and the vanilla specs file.
27 if hardened_gcc_works ; then
28 create_gcc_env_entry hardenednopiessp