diff options
author | Joel Brobecker <brobecker@gnat.com> | 2009-10-01 19:37:31 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2009-10-01 19:37:31 +0000 |
commit | a29f0fcf12f93bb65b7cb9ab9e937bc99e033528 (patch) | |
tree | e73bffb013a1d4a9ade15ccb49e1ed130eb866d4 /gdb/configure.ac | |
parent | e0eb05e1524d300b9802c6d4268e84cab03b1611 (diff) | |
download | gdb-a29f0fcf12f93bb65b7cb9ab9e937bc99e033528.tar.gz |
* configure.ac: Disable -Werror by default.
* configure: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 5 |
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" |