From edca36e835d0d4e929c1dd3e9688954ae0aa191a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 23 Feb 2024 11:40:30 +0000 Subject: gentoo auto-resync : 23:02:2024 - 11:40:30 --- eclass/Manifest.gz | Bin 39766 -> 39769 bytes eclass/toolchain.eclass | 16 ++++++++++++++++ 2 files changed, 16 insertions(+) (limited to 'eclass') diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz index a167dd103765..de6ff755a310 100644 Binary files a/eclass/Manifest.gz and b/eclass/Manifest.gz differ diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 67a04f297d6b..fef38790922c 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1309,6 +1309,22 @@ toolchain_src_configure() { GCC_RUN_FIXINCLUDES=1 fi + case ${CBUILD}-${CHOST}-${CTARGET} in + *i686-w64-mingw32*|*x86_64-w64-mingw32*) + # config/i386/t-cygming requires fixincludes (bug #925204) + GCC_RUN_FIXINCLUDES=1 + ;; + *mips*-sde-elf*) + # config/mips/t-sdemtk needs fixincludes too (bug #925204) + # It maps to mips*-sde-elf*, but only with --without-newlib. + if [[ ${confgcc} != *with-newlib* ]] ; then + GCC_RUN_FIXINCLUDES=1 + fi + ;; + *) + ;; + esac + if [[ ${GCC_RUN_FIXINCLUDES} == 1 ]] ; then confgcc+=( --enable-fixincludes ) else -- cgit v1.2.3