summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-02 03:04:24 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-02 03:04:24 +0000
commit37a097af13d675b83911ac006ee9ee22d2163f9a (patch)
tree75294129093c3332ea0ba918643a3485b19550f6 /eclass
parentaac5e1b02ac846f5e1ce85f4f66fdec46aa9b0d1 (diff)
gentoo auto-resync : 02:11:2024 - 03:04:23
Diffstat (limited to 'eclass')
-rw-r--r--eclass/Manifest.gzbin39038 -> 39027 bytes
-rw-r--r--eclass/toolchain.eclass4
2 files changed, 4 insertions, 0 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz
index 8d76cc045ced..c29b75013cd5 100644
--- a/eclass/Manifest.gz
+++ b/eclass/Manifest.gz
Binary files differ
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 805fc30952ce..e464f8c53972 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -330,6 +330,7 @@ if [[ ${PN} != kgcc64 && ${PN} != gcc-* ]] ; then
# and https://rust-gcc.github.io/2023/04/24/gccrs-and-gcc13-release.html for why
# it was disabled in 13.
tc_version_is_at_least 14.0.0_pre20230423 ${PV} && IUSE+=" rust" TC_FEATURES+=( rust )
+ tc_version_is_at_least 14.2.1_p20241026 ${PV} && IUSE+=" time64"
fi
if tc_version_is_at_least 10; then
@@ -1060,6 +1061,9 @@ toolchain_src_configure() {
downgrade_arch_flags
gcc_do_filter_flags
+ if tc_version_is_at_least 14.2.1_p20241026 ${PV}; then
+ append-cppflags "-D_GENTOO_TIME64_FORCE=$(usex time64 1 0)"
+ fi
if ! tc_version_is_at_least 11 && [[ $(gcc-major-version) -ge 12 ]] ; then
# https://gcc.gnu.org/PR105695 (bug #849359)