aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/Makefile.in
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/Makefile.in
parentda5bd37ebc6d9816be970d8a668a6a04508774c8 (diff)
downloadgdb-629c2962801801338b35c68554d30aa4455e6c0c.zip
gdb-629c2962801801338b35c68554d30aa4455e6c0c.tar.gz
gdb-629c2962801801338b35c68554d30aa4455e6c0c.tar.bz2
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/Makefile.in')
-rw-r--r--gdbsupport/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdbsupport/Makefile.in b/gdbsupport/Makefile.in
index 31065af..9116417 100644
--- a/gdbsupport/Makefile.in
+++ b/gdbsupport/Makefile.in
@@ -124,7 +124,8 @@ am__aclocal_m4_deps = $(top_srcdir)/../config/codeset.m4 \
$(top_srcdir)/../gdb/ax_cxx_compile_stdcxx.m4 \
$(top_srcdir)/../gdb/libiberty.m4 \
$(top_srcdir)/../gdb/selftest.m4 \
- $(top_srcdir)/../gdb/ptrace.m4 $(top_srcdir)/configure.ac
+ $(top_srcdir)/../gdb/ptrace.m4 $(top_srcdir)/../gdb/warning.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
@@ -287,6 +288,8 @@ SHELL = @SHELL@
STRIP = @STRIP@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
+WARN_CFLAGS = @WARN_CFLAGS@
+WERROR_CFLAGS = @WERROR_CFLAGS@
XGETTEXT = @XGETTEXT@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
@@ -350,6 +353,7 @@ AM_CPPFLAGS = -I$(srcdir)/../include -I$(srcdir)/../gdb \
-I../gnulib/import -I$(srcdir)/../gnulib/import \
-I.. -I$(srcdir)/.. $(INCINTL) -I../bfd -I$(srcdir)/../bfd
+AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
noinst_LIBRARIES = libgdbsupport.a
@SELFTEST_TRUE@selftest = selftest.c
libgdbsupport_a_SOURCES = \