commit: 037e5a3fa183879f012e31b380e7265bdd3ce364
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 29 21:26:02 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Nov 30 20:27:14 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=037e5a3f
toolchain.eclass: filter out -Wstack-protector for gcc-4.0
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
eclass/toolchain.eclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 3ad65af83a8..1678ef3e570 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