浏览代码

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.
Rich Felker 5 年之前
父节点
当前提交
463cd3e669
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      litecross/Makefile

+ 1 - 0
litecross/Makefile

@@ -68,6 +68,7 @@ FULL_BINUTILS_CONFIG = \
 FULL_GCC_CONFIG = --enable-languages=c,c++ \
 	$(GCC_CONFIG_FOR_TARGET) \
 	$(COMMON_CONFIG) $(GCC_CONFIG) $(TOOLCHAIN_CONFIG) \
+	--disable-bootstrap \
 	--disable-werror \
 	--target=$(TARGET) --prefix= \
 	--libdir=/lib --disable-multilib \