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 | 6d9854f8a9caa2e30a6ef0438bef2070acc57171 (patch) | |
tree | 8e8e5e8da3d52da2b6f0926992cc2ba4a73d9b11 /configure.in | |
parent | 1e2aebc0d4501d90e57c327cc92e021a24024178 (diff) | |
download | gdb-6d9854f8a9caa2e30a6ef0438bef2070acc57171.tar.gz |
* 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 '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) |