mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 16:41:11 +02:00
eclass/toolchain: Sync with Gentoo
It's from Gentoo commit 0c5af65cfb92b7702f170999488c970fc278d9a2.
This commit is contained in:
parent
a8504512ec
commit
451f8f7e52
@ -1309,6 +1309,22 @@ toolchain_src_configure() {
|
|||||||
GCC_RUN_FIXINCLUDES=1
|
GCC_RUN_FIXINCLUDES=1
|
||||||
fi
|
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
|
if [[ ${GCC_RUN_FIXINCLUDES} == 1 ]] ; then
|
||||||
confgcc+=( --enable-fixincludes )
|
confgcc+=( --enable-fixincludes )
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user