aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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