commit:     fe4c1c320ff6b8299c28fb3b11decfc114a835a2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 12 23:38:51 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 12 23:39:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe4c1c32

toolchain.eclass: filter -fsanitize=*

Doesn't make any sense for building GCC.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 1bbacfa2bdb4..6561cea458e6 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1383,6 +1383,8 @@ gcc_do_filter_flags() {
        filter-flags -frecord-gcc-switches # 490738
        filter-flags -mno-rtm -mno-htm # 506202
 
+       filter-flags '-fsanitize=*'
+
        if tc_version_is_between 6 8 ; then
                # -mstackrealign triggers crashes in exception throwing
                # at least on ada: bug #688580

Reply via email to