From 241e4cbb812c900dfdc3491a70b7bd427fb3a806 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Mon, 9 Aug 2021 10:47:43 +0000 Subject: config/gcc.conf: Always disable bootstrap for stage1 GCC builds ... so that custom stage1 native builds don't bootstrap compiler. Change-Id: I0fc64a998a687586f8854d23051300ec5ef9a540 --- config/gcc.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/gcc.conf b/config/gcc.conf index 65aebcc4..f4c5cb61 100644 --- a/config/gcc.conf +++ b/config/gcc.conf @@ -184,6 +184,7 @@ case ${target} in ;; esac +stage1_flags="" stage2_flags="" # When building a cross-compiler, we first build a minimal stage1 @@ -194,7 +195,7 @@ if test x"${build}" != x"${target}"; then # used to compile the C library. We disable most everything, as the # second GCC build will be able to use the C library built with the # first GCC build. - stage1_flags="--disable-libssp --disable-libquadmath --disable-threads --without-headers --with-newlib --disable-libmudflap --disable-bootstrap --disable-decimal-float --disable-libgomp --disable-libatomic --disable-libsanitizer --disable-plugins --disable-libitm --enable-languages=c,c++ --disable-libstdcxx --disable-libvtv --disable-shared" + stage1_flags="$stage1_flags --disable-libssp --disable-libquadmath --disable-threads --without-headers --with-newlib --disable-libmudflap --disable-decimal-float --disable-libgomp --disable-libatomic --disable-libsanitizer --disable-plugins --disable-libitm --enable-languages=c,c++ --disable-libstdcxx --disable-libvtv --disable-shared" case ${clibrary} in glibc|eglibc) @@ -239,6 +240,7 @@ else stage2_flags="${stage2_flags} --enable-checking=release" fi +stage1_flags="$stage1_flags --disable-bootstrap" if test x"${bootstrap}" = x"yes"; then stage2_flags="${stage2_flags} --enable-bootstrap" else -- cgit v1.2.3