1 |
commit: fe4c1c320ff6b8299c28fb3b11decfc114a835a2 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 12 23:38:51 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 12 23:39:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe4c1c32 |
7 |
|
8 |
toolchain.eclass: filter -fsanitize=* |
9 |
|
10 |
Doesn't make any sense for building GCC. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
eclass/toolchain.eclass | 2 ++ |
15 |
1 file changed, 2 insertions(+) |
16 |
|
17 |
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass |
18 |
index 1bbacfa2bdb4..6561cea458e6 100644 |
19 |
--- a/eclass/toolchain.eclass |
20 |
+++ b/eclass/toolchain.eclass |
21 |
@@ -1383,6 +1383,8 @@ gcc_do_filter_flags() { |
22 |
filter-flags -frecord-gcc-switches # 490738 |
23 |
filter-flags -mno-rtm -mno-htm # 506202 |
24 |
|
25 |
+ filter-flags '-fsanitize=*' |
26 |
+ |
27 |
if tc_version_is_between 6 8 ; then |
28 |
# -mstackrealign triggers crashes in exception throwing |
29 |
# at least on ada: bug #688580 |