* Makefile.in (WARN_CFLAGS): Get it from configure.
authorPedro Alves <palves@redhat.com>
Thu, 26 Aug 2010 18:03:02 +0000 (18:03 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 26 Aug 2010 18:03:02 +0000 (18:03 +0000)
commitd4596a3d7917d78d17cffc5cd2e7d47c8bf9a383
treea9e059bb0cfb95586851e90da85806702d6d1828
parentc6da4ceffb316a29a735c7b4d3e8b9cc6831f4d4
* Makefile.in (WARN_CFLAGS): Get it from configure.
(WERROR_CFLAGS): New.
(INTERNAL_CFLAGS): Add WERROR_CFLAGS.
* configure.ac: Introduce --enable-werror, which adds -Werror to
the compiler command line.  Enabled by default.  Disable with
--disable-werror.  Add -Wdeclaration-after-statement
Wpointer-arith and -Wformat-nonliteral to warning flags.
        * configure: Regenerate.
gdb/gdbserver/Makefile.in
gdb/gdbserver/configure
gdb/gdbserver/configure.ac