From fd4679698ad7db235f410a88c68603acc8118099 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 26 Aug 2010 18:36:28 +0000 Subject: [PATCH] * 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/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index ddc6e98463f..682d8f93783 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,14 @@ +2010-08-26 Pedro Alves + + * 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 * mem-break.c [HAVE_MALLOC_H]: Include malloc.h. -- 2.30.2