aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2016-05-01 21:24:34 +0200
committerMagnus Granberg <zorry@gentoo.org>2016-05-01 21:24:34 +0200
commitd45e7e6148a392e3200a7c6c17ff2888cbf26b64 (patch)
treeda64e92a8c18964133db8033eb8350f443b2c918
parentadd GCC 6.0.1 RC (diff)
downloadhardened-dev-d45e7e6148a392e3200a7c6c17ff2888cbf26b64.zip
hardened-dev-d45e7e6148a392e3200a7c6c17ff2888cbf26b64.tar.gz
hardened-dev-d45e7e6148a392e3200a7c6c17ff2888cbf26b64.tar.bz2
dont use .specs files when install
-rw-r--r--eclass/toolchain.eclass5
1 files changed, 5 insertions, 0 deletions
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