aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-08-09 10:47:43 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-08-11 08:07:23 +0000
commit241e4cbb812c900dfdc3491a70b7bd427fb3a806 (patch)
tree96dae6c6f94604be7b20e6069f2402c76be02b9f /config
parent809696e3dd63088a49c543ab64f93eba1e558e66 (diff)
config/gcc.conf: Always disable bootstrap for stage1 GCC builds
... so that custom stage1 native builds don't bootstrap compiler. Change-Id: I0fc64a998a687586f8854d23051300ec5ef9a540
Diffstat (limited to 'config')
-rw-r--r--config/gcc.conf4
1 files changed, 3 insertions, 1 deletions
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