From 623008c296577495e00325bd3640a1b0051fa044 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 13 Nov 2020 10:20:19 -0800 Subject: tests: enable warnings for the gnulib-tests subdir * gnulib-tests/Makefile.am (AM_CFLAGS): Enable gnulib warning options for these tests. * configure.ac (GNULIB_TEST_WARN_CFLAGS): Disable the same three warning options that coreutils does, and a few more for GCC11. --- gnulib-tests/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnulib-tests') diff --git a/gnulib-tests/Makefile.am b/gnulib-tests/Makefile.am index 6635f706..3085f635 100644 --- a/gnulib-tests/Makefile.am +++ b/gnulib-tests/Makefile.am @@ -1 +1,4 @@ +AM_CFLAGS = include gnulib.mk + +AM_CFLAGS += $(GNULIB_TEST_WARN_CFLAGS) $(WERROR_CFLAGS) -- cgit v1.2.1