* configure.ac, configure; Disable -Werror by default.

This commit is contained in:
gdbadmin
2010-02-19 00:23:01 +00:00
parent a3cfda0edb
commit 76868d59cd
3 changed files with 5 additions and 10 deletions

View File

@@ -1,3 +1,8 @@
2010-02-19 Joel Brobecker <brobecker@adacore.com>
* configure.ac: Disable -Werror by default.
* configure: Regenerate.
2010-02-19 Joel Brobecker <brobecker@adacore.com>
GDB 7.1 branch created (branch timestamp: 2010-02-18 20:00 UTC)

5
gdb/configure vendored
View File

@@ -13418,11 +13418,6 @@ if test "${enable_werror+set}" = set; then :
fi
# Enable -Werror by default when using gcc
if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
ERROR_ON_WARNING=yes
fi
WERROR_CFLAGS=""
if test "${ERROR_ON_WARNING}" = yes ; then
WERROR_CFLAGS="-Werror"

View File

@@ -1527,11 +1527,6 @@ AC_ARG_ENABLE(werror,
*) AC_MSG_ERROR(bad value ${enableval} for --enable-werror) ;;
esac])
# Enable -Werror by default when using gcc
if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
ERROR_ON_WARNING=yes
fi
WERROR_CFLAGS=""
if test "${ERROR_ON_WARNING}" = yes ; then
WERROR_CFLAGS="-Werror"