diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-04-15 08:45:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-04-15 08:45:29 +0100 |
commit | dfd0139069bb79941b882fe714d38b7fc8dcdb16 (patch) | |
tree | 4a16c914900acf7edb5090bca6b6fc17aa87fc09 /eclass | |
parent | 4e995247a9a9d45f0b265ab9120c6d31c0a1f0d9 (diff) |
gentoo auto-resync : 15:04:2025 - 08:45:29
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/Manifest.gz | bin | 40345 -> 40350 bytes | |||
-rw-r--r-- | eclass/toolchain.eclass | 15 |
2 files changed, 6 insertions, 9 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz Binary files differindex d402575513ab..93d7b6da8b24 100644 --- a/eclass/Manifest.gz +++ b/eclass/Manifest.gz diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index b6cc4df5364a..d96c4acabbe2 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2125,8 +2125,6 @@ gcc_do_filter_flags() { -fharden-control-flow-redundancy -fno-harden-control-flow-redundancy \ -fhardcfr-skip-leaf -fhardcfr-check-exceptions \ -fhardcfr-check-returning-calls '-fhardcfr-check-noreturn-calls=*' - - # New in GCC 14. filter-flags -Walloc-size fi @@ -2135,6 +2133,10 @@ gcc_do_filter_flags() { filter-flags -fdiagnostics-set-output=text:experimental-nesting=yes fi + # Ada: PR116226 + # D: PR117002 (bug #940750) + filter-flags -Warray-bounds + # Please use USE=lto instead (bug #906007). filter-lto @@ -2330,18 +2332,13 @@ gcc_do_make() { BOOT_LDFLAGS=${BOOT_LDFLAGS-"${abi_ldflags} ${LDFLAGS}"} LDFLAGS_FOR_TARGET="${LDFLAGS_FOR_TARGET:-${LDFLAGS}}" - if _tc_use_if_iuse d ; then + if _tc_use_if_iuse d && use hardened ; then # If we need to in future, we could really simplify this # to just be unconditional for stage1. It doesn't really # matter there. If we want to go in the other direction # and make this more conditional, we could check if # the bootstrap compiler is < GCC 12. See bug #940470. - if use hardened ; then - STAGE1_CXXFLAGS+=" -U_GLIBCXX_ASSERTIONS" - fi - - # This can be dropped a while after 2025-03-31 (bug #940750). - STAGE1_GDCFLAGS+=" -Wno-array-bounds" + STAGE1_CXXFLAGS+=" -U_GLIBCXX_ASSERTIONS" fi emakeargs+=( |