summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-12 23:38:51 +0000
committerSam James <sam@gentoo.org>2022-05-12 23:39:05 +0000
commitfe4c1c320ff6b8299c28fb3b11decfc114a835a2 (patch)
treeacd2e2772b816b7ba291c83d1e8cf0c217f3bf73 /eclass/toolchain.eclass
parentsys-apps/xdg-dbus-proxy: Version bump to 0.1.4 (diff)
downloadgentoo-fe4c1c320ff6b8299c28fb3b11decfc114a835a2.tar.gz
gentoo-fe4c1c320ff6b8299c28fb3b11decfc114a835a2.tar.bz2
gentoo-fe4c1c320ff6b8299c28fb3b11decfc114a835a2.zip
toolchain.eclass: filter -fsanitize=*
Doesn't make any sense for building GCC. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 2 insertions, 0 deletions
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