aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2004-03-24 22:34:31 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2004-03-24 22:34:31 +0000
commit1a6f2dc7d681432fd0191b59042e8c9db8f8c179 (patch)
treee3680633829eadb2434cbb01a54438c2f610cad2 /configure
parent78a1a89446001cbf31afab01607aa6be84a3835d (diff)
downloadgdb-1a6f2dc7d681432fd0191b59042e8c9db8f8c179.zip
gdb-1a6f2dc7d681432fd0191b59042e8c9db8f8c179.tar.gz
gdb-1a6f2dc7d681432fd0191b59042e8c9db8f8c179.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 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index a884c32..a674ab6 100755
--- a/configure
+++ b/configure
@@ -4484,9 +4484,9 @@ else
enable_werror=yes
fi
-case ${enable_error} in
- yes) WERROR=-Werror ;;
- *) WERROR= ;;
+case ${enable_werror} in
+ yes) stage2_werror_flag="--enable-werror-always" ;;
+ *) stage2_werror_flag="" ;;
esac
@@ -4745,7 +4745,7 @@ s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
s%@MAINT@%$MAINT%g
s%@stage1_cflags@%$stage1_cflags%g
-s%@WERROR@%$WERROR%g
+s%@stage2_werror_flag@%$stage2_werror_flag%g
CEOF
EOF