* configure.in: Re-enable -Werror for gcc builds.

From-SVN: r120947
This commit is contained in:
Mike Stump 2007-01-19 02:08:33 +00:00 committed by Mike Stump
parent 640f891823
commit 416cfb5e37
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-01-18 Mike Stump <mrs@apple.com>
* configure.in: Re-enable -Werror for gcc builds.
2007-01-11 Harsha Jagasia <harsha.jagasia@amd.com>
* MAINTAINERS (Write After Approval): Add myself.

2
configure vendored
View File

@ -7482,7 +7482,7 @@ if test "${enable_werror+set}" = set; then
enableval="$enable_werror"
:
else
if test -d gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
enable_werror=yes
else
enable_werror=no

View File

@ -2528,7 +2528,7 @@ AC_SUBST(stage1_checking)
# Enable -Werror in bootstrap stage2 and later.
AC_ARG_ENABLE(werror,
[ --enable-werror enable -Werror in bootstrap stage2 and later], [],
[if test -d gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
[if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
enable_werror=yes
else
enable_werror=no