summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2017-05-31 13:35:41 +0000
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2017-05-31 13:35:41 +0000
commit5362e31edc6fa259e12284233ae9a368f7821e6b (patch)
tree7c6103623e39565d98c677d6ceaf43e0bd42dd61 /configure
parent54fae019dccaf22b93d6d94bd9dd9ed51c730e8a (diff)
downloadgcc-5362e31edc6fa259e12284233ae9a368f7821e6b.tar.gz
Fix configure.ac to respect --{enable,disable}-werror option.
2017-05-31 Martin Liska <mliska@suse.cz> * configure.ac: Add handling of stage2_werror_flags to action-if-given and to action-if-not-given. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248737 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure b/configure
index 82aa619fad1..2cbb4b7ab9d 100755
--- a/configure
+++ b/configure
@@ -14641,13 +14641,13 @@ fi
# Check whether --enable-werror was given.
if test "${enable_werror+set}" = set; then :
enableval=$enable_werror;
-fi
-
case ${enable_werror} in
yes) stage2_werror_flag="--enable-werror-always" ;;
*) stage2_werror_flag="" ;;
esac
+else
+
if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
case $BUILD_CONFIG in
bootstrap-debug)
@@ -14657,6 +14657,9 @@ if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental;
esac
fi
+fi
+
+
# Specify what files to not compare during bootstrap.