summaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-10-01 19:37:31 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-10-01 19:37:31 +0000
commita29f0fcf12f93bb65b7cb9ab9e937bc99e033528 (patch)
treee73bffb013a1d4a9ade15ccb49e1ed130eb866d4 /gdb/configure.ac
parente0eb05e1524d300b9802c6d4268e84cab03b1611 (diff)
downloadgdb-a29f0fcf12f93bb65b7cb9ab9e937bc99e033528.tar.gz
* configure.ac: Disable -Werror by default.
* configure: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index b31d9b70de7..0e42182fa2d 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1510,11 +1510,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"