]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdbserver/ChangeLog
Do not build gdbserver with -Werror by default if development=false
authorJoel Brobecker <brobecker@adacore.com>
Mon, 19 May 2014 21:16:24 +0000 (14:16 -0700)
committerJoel Brobecker <brobecker@adacore.com>
Tue, 20 May 2014 13:25:10 +0000 (06:25 -0700)
commit786dc51990a8d593a8d727735910ccf97752d928
tree2af44773d9a68a688c4953c3879e4e441048fc25
parente59fa00fa07f37aa04d38aecaf8098e01aaf253d
Do not build gdbserver with -Werror by default if development=false

On GDB release branches, we change $development in gdb/development.sh
to false, in order to build the GDB release without -Werror by default,
thus avoiding harmless compiler warnings from breaking the build of
someone who's only interested in building GDB rather than working
on it.

This patch implements the same strategy for gdbserver, using the exact
same method.

gdb/gdbserver/ChangeLog:

        * configure.ac: Only use -Werror by default when DEVELOPMENT
        is true.
        * configure: Regenerate.

Tested on x86_64-linux, by rebuilding GDBserver first with development
set to true, and then doing it again with development set to false.
Werror was used in the first case, but not in the second.
gdb/gdbserver/ChangeLog
gdb/gdbserver/configure
gdb/gdbserver/configure.ac