diff options
author | Jim Meyering <meyering@fb.com> | 2020-11-13 10:20:19 -0800 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2020-11-26 09:24:24 -0800 |
commit | 623008c296577495e00325bd3640a1b0051fa044 (patch) | |
tree | e43b52a2a5e8be2876fcadecc330639efb33ba17 /gnulib-tests | |
parent | fac92da8bce6544582e76a720fe0787c0e0b860a (diff) | |
download | grep-623008c296577495e00325bd3640a1b0051fa044.tar.gz |
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.
Diffstat (limited to 'gnulib-tests')
-rw-r--r-- | gnulib-tests/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
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) |