From 037e5a3fa183879f012e31b380e7265bdd3ce364 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 29 Nov 2018 21:26:02 +0000 Subject: toolchain.eclass: filter out -Wstack-protector for gcc-4.0 Signed-off-by: Sergei Trofimovich --- eclass/toolchain.eclass | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-65-gdbad