From 629c2962801801338b35c68554d30aa4455e6c0c Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 11 Feb 2020 10:46:23 -0500 Subject: 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/acinclude.m4 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdbsupport/acinclude.m4') diff --git a/gdbsupport/acinclude.m4 b/gdbsupport/acinclude.m4 index fe08bb3..3598b20 100644 --- a/gdbsupport/acinclude.m4 +++ b/gdbsupport/acinclude.m4 @@ -5,3 +5,6 @@ m4_include([../gdb/ax_cxx_compile_stdcxx.m4]) m4_include([../gdb/libiberty.m4]) m4_include([../gdb/selftest.m4]) m4_include([../gdb/ptrace.m4]) + +dnl This gets AM_GDB_WARNINGS. +m4_include(../gdb/warning.m4) -- cgit v1.1