gdbsupport: use AM_GDB_WARNINGS
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 11 Feb 2020 15:46:23 +0000 (10:46 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 11 Feb 2020 15:46:23 +0000 (10:46 -0500)
commit629c2962801801338b35c68554d30aa4455e6c0c
treee6f257819b81397fdef34ddcaa9e1594b7e5b6c9
parentda5bd37ebc6d9816be970d8a668a6a04508774c8
gdbsupport: use AM_GDB_WARNINGS

Since gdbsupport has been given its own build system, it is no longer
compiled with the warning flags specified in gdb/warning.m4.

This patch makes it use AM_GDB_WARNINGS.

gdbsupport/ChangeLog:

* acinclude.m4: Include ../gdb/warning.m4.
* configure.ac: Use AM_GDB_WARNINGS.
* Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
* Makefile.in: Re-generate.
* configure: Re-generate.
gdbsupport/ChangeLog
gdbsupport/Makefile.am
gdbsupport/Makefile.in
gdbsupport/acinclude.m4
gdbsupport/configure
gdbsupport/configure.ac