diff options
author | Nathanael Nerode <neroden@gcc.gnu.org> | 2004-03-24 22:08:39 +0000 |
---|---|---|
committer | Nathanael Nerode <neroden@gcc.gnu.org> | 2004-03-24 22:08:39 +0000 |
commit | 09a9c0954ed89b3779631016a14a3d6d3abee37a (patch) | |
tree | f57c21720c18cb974ff82e4d9ec3569cc33c6d09 /configure.in | |
parent | 58c959212f4871518e4d0d5af8555759cd0cf7a9 (diff) | |
download | gcc-09a9c0954ed89b3779631016a14a3d6d3abee37a.tar.gz |
configure.ac: Add --enable-werror-always (for top level bootstrap support).
(gcc)
* configure.ac: Add --enable-werror-always (for top level bootstrap
support).
* configure: Regenerate.
(top level)
* 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.
From-SVN: r79935
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 0a9f05fd8fc..5735d84c8b4 100644 --- a/configure.in +++ b/configure.in @@ -2129,10 +2129,10 @@ AC_SUBST(stage1_cflags) AC_ARG_ENABLE(werror, [ --enable-werror enable -Werror in bootstrap stage2 and later], [], [enable_werror=yes]) -case ${enable_error} in - yes) WERROR=-Werror ;; - *) WERROR= ;; +case ${enable_werror} in + yes) stage2_werror_flag="--enable-werror-always" ;; + *) stage2_werror_flag="" ;; esac -AC_SUBST(WERROR) +AC_SUBST(stage2_werror_flag) AC_OUTPUT(Makefile) |