mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 19:14:52 +08:00
* 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.
This commit is contained in:
parent
d4596a3d79
commit
fd4679698a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user