toolchain.eclass: filter out -Wstack-protector for gcc-4.0

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2018-11-29 21:26:02 +00:00
parent 9955fcfd7c
commit 037e5a3fa1

View File

@@ -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