* Makefile.in (WARN_CFLAGS): Get it from configure.
authorPedro Alves <palves@redhat.com>
Thu, 26 Aug 2010 18:36:28 +0000 (18:36 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 26 Aug 2010 18:36:28 +0000 (18:36 +0000)
(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/ChangeLog

index ddc6e98463fb159fb81140df07e3d8e5cd9aabba..682d8f93783aeeb7afcf7866dba13887ce942405 100644 (file)
@@ -1,3 +1,14 @@
+2010-08-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * 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.
+
 2010-08-26  Pedro Alves  <pedro@codesourcery.com>
 
        * mem-break.c [HAVE_MALLOC_H]: Include malloc.h.