aboutsummaryrefslogtreecommitdiff
path: root/config/gcc.conf
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2014-10-11 00:58:03 +0100
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2014-10-11 00:58:03 +0100
commit864b872b9675aa90865504f8f8a43283127edf54 (patch)
tree32973d147f940193ef87bde2d097d18560b59afa /config/gcc.conf
parent60aece949deeb07291a411b2ec827a027901fb8c (diff)
Improve bootstrap support
Diffstat (limited to 'config/gcc.conf')
-rw-r--r--config/gcc.conf10
1 files changed, 8 insertions, 2 deletions
diff --git a/config/gcc.conf b/config/gcc.conf
index 3e13e140..c3377e37 100644
--- a/config/gcc.conf
+++ b/config/gcc.conf
@@ -151,6 +151,12 @@ if test x"${build}" != x"${target}"; then
fi
stage2_flags="--with-build-sysroot=${sysroots} --enable-lto --enable-linker-build-id --enable-long-long --enable-shared --with-sysroot=${sysroot} --enable-languages=${languages} --enable-checking"
+ if test x"${bootstrap}" = x"yes"; then
+ stage2_flags="${stage2_flags} --enable-bootstrap"
+ else
+ stage2_flags="${stage2_flags} --disable-bootstrap"
+ fi
+
# native builds are easy, so build almost everything
else
if test x"${with_languages}" != x"default"; then
@@ -162,9 +168,9 @@ else
# Native compilers are bootstrapped by default, but sometimes the extra time isn't
# desired.
if test x"${bootstrap}" = x"yes"; then
- default_configure_flags="${default_configure_flags} --enable-bootstrap"
+ default_configure_flags="${default_configure_flags} --enable-bootstrap"
else
- default_configure_flags="${default_configure_flags} --disable-bootstrap"
+ default_configure_flags="${default_configure_flags} --disable-bootstrap"
fi
case ${target} in
arm*-none-linux-gnueabi)