commit: d45e7e6148a392e3200a7c6c17ff2888cbf26b64
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Sun May 1 19:24:34 2016 +0000
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Sun May 1 19:24:34 2016 +0000
URL: https://gitweb.gentoo.org/proj/hardened-dev.git/commit/?id=d45e7e61
dont use .specs files when install
eclass/toolchain.eclass | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 3106641..247dcee 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1937,6 +1937,11 @@ create_gcc_env_entry() {
}
copy_minispecs_gcc_specs() {
+ # on gcc 6 we don't need minispecs
+ if tc_version_is_at_least 6.0 ; then
+ return 0
+ fi
+
# setup the hardenedno* specs files and the vanilla specs file.
if hardened_gcc_works ; then
create_gcc_env_entry hardenednopiessp