summaryrefslogtreecommitdiff
path: root/eclass/toolchain.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-06 00:10:59 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-06 00:10:59 +0000
commit22eaa60297c2dbc92dd1658fb7d8e46878552755 (patch)
treec3e1147cecf778a6418d736658cedc5d7f2dfa2d /eclass/toolchain.eclass
parente019d91362a4788fe5cc5788877327b813d0f730 (diff)
gentoo auto-resync : 06:02:2025 - 00:10:59
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 2bfa751b531d..fb8ebedd9de3 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -2099,6 +2099,11 @@ gcc_do_filter_flags() {
# https://gcc.gnu.org/PR100431
filter-flags -Werror=format-security
+ if ver_test -lt 10.1 ; then
+ filter-flags '-fdiagnostics-urls=*'
+ filter-flags '-Wstringop-overread'
+ fi
+
if ver_test -lt 13.6 ; then
# These aren't supported by the just-built compiler either.
filter-flags -fharden-compares -fharden-conditional-branches \