diff options
author | Nathanael Nerode <neroden@gcc.gnu.org> | 2004-03-24 22:34:31 +0000 |
---|---|---|
committer | Nathanael Nerode <neroden@gcc.gnu.org> | 2004-03-24 22:34:31 +0000 |
commit | f06f3d7c4d99f6a0da623b71acbf11a27f547b03 (patch) | |
tree | 9a6770cb6895f03ff9337a3ad7f8e7aa7e0439ff /Makefile.tpl | |
parent | 9b8c338884826b6e7ac6c7984bab702c56c6e773 (diff) | |
download | newlib-f06f3d7c4d99f6a0da623b71acbf11a27f547b03.zip newlib-f06f3d7c4d99f6a0da623b71acbf11a27f547b03.tar.gz newlib-f06f3d7c4d99f6a0da623b71acbf11a27f547b03.tar.bz2 |
* configure.in (top level bootstrap support): Rework --enable-werror
to set @stage2_werror_flag@.
* configure: Regenerate.
* Makefile.tpl (top level bootstrap support): Pass
@stage2_werror_flag@ down to configure in stages 2 and 3.
* Makefile.in: Regenerate.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index e486dfe..4fef85b 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -1374,6 +1374,8 @@ all-stage1-gcc: configure-stage1-gcc prebootstrap $(STAMP) all-stage1-gcc # TODO: Deal with STAGE_PREFIX (which is only for ada, incidentally) +# Possibly pass --enable-werror-always (depending on --enable-werror); +# that's what @stage2_werror_flag@ is for configure-stage2-gcc: all-stage1-gcc echo configure-stage2-gcc > stage_last ; \ if [ -f stage2-gcc/Makefile ] ; then \ @@ -1417,7 +1419,7 @@ configure-stage2-gcc: all-stage1-gcc libsrcdir="$$s/gcc";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} ; \ + $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \ cd .. ; \ mv gcc stage2-gcc ; \ mv prev-gcc stage1-gcc ; \ @@ -1491,7 +1493,7 @@ configure-stage3-gcc: all-stage2-gcc libsrcdir="$$s/gcc";; \ esac; \ $(SHELL) $${libsrcdir}/configure \ - $(HOST_CONFIGARGS) $${srcdiroption} ; \ + $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \ cd .. ; \ mv gcc stage3-gcc ; \ mv prev-gcc stage2-gcc ; \ |