summaryrefslogtreecommitdiff
path: root/gdbsupport/acinclude.m4
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-02-11 10:46:23 -0500
committerSimon Marchi <simon.marchi@efficios.com>2020-02-11 10:46:23 -0500
commit629c2962801801338b35c68554d30aa4455e6c0c (patch)
treee6f257819b81397fdef34ddcaa9e1594b7e5b6c9 /gdbsupport/acinclude.m4
parentda5bd37ebc6d9816be970d8a668a6a04508774c8 (diff)
downloadbinutils-gdb-629c2962801801338b35c68554d30aa4455e6c0c.tar.gz
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.
Diffstat (limited to 'gdbsupport/acinclude.m4')
-rw-r--r--gdbsupport/acinclude.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/gdbsupport/acinclude.m4 b/gdbsupport/acinclude.m4
index fe08bb36fe0..3598b201b94 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)