1 |
commit: 037e5a3fa183879f012e31b380e7265bdd3ce364 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 29 21:26:02 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 30 20:27:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=037e5a3f |
7 |
|
8 |
toolchain.eclass: filter out -Wstack-protector for gcc-4.0 |
9 |
|
10 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
11 |
|
12 |
eclass/toolchain.eclass | 1 + |
13 |
1 file changed, 1 insertion(+) |
14 |
|
15 |
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass |
16 |
index 3ad65af83a8..1678ef3e570 100644 |
17 |
--- a/eclass/toolchain.eclass |
18 |
+++ b/eclass/toolchain.eclass |
19 |
@@ -1512,6 +1512,7 @@ gcc_do_filter_flags() { |
20 |
fi |
21 |
if ! tc_version_is_at_least 4.1 ; then |
22 |
filter-flags -fdiagnostics-show-option |
23 |
+ filter-flags -Wstack-protector |
24 |
fi |
25 |
|
26 |
if tc_version_is_at_least 3.4 ; then |