gdb: unbreak 7.12 target gdb/gdbserver build without C++ support
authorPeter Korsgaard <peter@korsgaard.com>
Sun, 22 Jan 2017 19:17:09 +0000 (20:17 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 23 Jan 2017 22:07:39 +0000 (23:07 +0100)
commitba8338060bd10abb49a7ca413fd5ea53e80b0868
treeb0aa51fb1c85f6811341b8f2f9246e90350752fd
parent5c9db62171cefb125193a6f814a0046536fc76a1
gdb: unbreak 7.12 target gdb/gdbserver build without C++ support

gdb 7.12+ by default builds with a C++ compiler, which naturally doesn't
work when we don't have C++ support in the toolchain.

Fix it by passing --disable-build-with-cxx for such setups.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gdb/gdb.mk