summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-11-29 21:26:02 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2018-11-30 20:27:14 +0000
commit037e5a3fa183879f012e31b380e7265bdd3ce364 (patch)
tree450b6bc89efa1428d69c11a64d7ccf9974578e39 /eclass
parentnet-nds/openldap: Security cleanup (diff)
downloadgentoo-037e5a3fa183879f012e31b380e7265bdd3ce364.tar.gz
gentoo-037e5a3fa183879f012e31b380e7265bdd3ce364.tar.bz2
gentoo-037e5a3fa183879f012e31b380e7265bdd3ce364.zip
toolchain.eclass: filter out -Wstack-protector for gcc-4.0
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 3ad65af83a84..1678ef3e5700 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1512,6 +1512,7 @@ gcc_do_filter_flags() {
fi
if ! tc_version_is_at_least 4.1 ; then
filter-flags -fdiagnostics-show-option
+ filter-flags -Wstack-protector
fi
if tc_version_is_at_least 3.4 ; then