commit:     4d201afa8ab194f6ecf932f90fc35b9cb1fc92a1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 14 00:34:48 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 14 00:35:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d201afa

toolchain.eclass: fix time64 conditional for kgcc64

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

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 99db7916c91d..8fe3cde2a69f 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1065,7 +1065,7 @@ toolchain_src_configure() {
 
        downgrade_arch_flags
        gcc_do_filter_flags
-       if tc_version_is_at_least 14.2.1_p20241026 ${PV}; then
+       if [[ ${PN} != kgcc64 && ${PN} != gcc-* ]] && tc_version_is_at_least 
14.2.1_p20241026 ${PV}; then
                append-cppflags "-D_GENTOO_TIME64_FORCE=$(usex time64 1 0)"
        fi
 

Reply via email to