commit:     4ccbec18b76ff3c48f3d32f1b1760ca568ddc615
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 05:07:11 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 05:07:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ccbec18

toolchain.eclass: explicitly disable fixincludes for cross too

Just in case, although the condition is unlikely there now.

Bug: https://bugs.gentoo.org/905118
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 5de1329347ee..67a04f297d6b 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1304,8 +1304,8 @@ toolchain_src_configure() {
 
        if tc_version_is_at_least 13.1 ; then
                # Re-enable fixincludes for >= GCC 13 with older glibc
-               # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107128
-               if use elibc_glibc && has_version "<sys-libs/glibc-2.38" ; then
+               # https://gcc.gnu.org/PR107128
+               if ! is_crosscompile && use elibc_glibc && has_version 
"<sys-libs/glibc-2.38" ; then
                        GCC_RUN_FIXINCLUDES=1
                fi
 

Reply via email to