pass --disable-bootstrap to gcc
this should be a nop since we're either building a cross compiler or cross compiling, but due to recent gcc's config.guess detecting musl, it's possible to spuriously get $build=$host=$target, and then the dreaded bootstrap procedure runs and breaks the output.
This commit is contained in:
parent
03b296f811
commit
463cd3e669
|
@ -68,6 +68,7 @@ FULL_BINUTILS_CONFIG = \
|
||||||
FULL_GCC_CONFIG = --enable-languages=c,c++ \
|
FULL_GCC_CONFIG = --enable-languages=c,c++ \
|
||||||
$(GCC_CONFIG_FOR_TARGET) \
|
$(GCC_CONFIG_FOR_TARGET) \
|
||||||
$(COMMON_CONFIG) $(GCC_CONFIG) $(TOOLCHAIN_CONFIG) \
|
$(COMMON_CONFIG) $(GCC_CONFIG) $(TOOLCHAIN_CONFIG) \
|
||||||
|
--disable-bootstrap \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--target=$(TARGET) --prefix= \
|
--target=$(TARGET) --prefix= \
|
||||||
--libdir=/lib --disable-multilib \
|
--libdir=/lib --disable-multilib \
|
||||||
|
|
Loading…
Reference in New Issue