maint: adjust to Gnulib -Wsystem-headers change

* configure.ac: Don’t suppress -Wsystem-headers since Gnulib no
longer enables it.

Borrowed from
  https://git.sv.gnu.org/cgit/coreutils.git/commit/?id=94e8f2b012eb
This commit is contained in:
Bernhard Voelker 2024-09-17 01:17:00 +02:00
parent 4a719e65d2
commit f65a2a960f

View File

@ -116,7 +116,6 @@ AC_ARG_ENABLE(compiler-warnings,
# Set up the list of the pointless, undesired warnings.
findutils_nw=
findutils_nw="$findutils_nw -Wsystem-headers" # Don't let system headers trigger warnings
findutils_nw="$findutils_nw -Wundef" # All compiler preprocessors support #if UNDEF
findutils_nw="$findutils_nw -Wtraditional" # All compilers nowadays support ANSI C
findutils_nw="$findutils_nw -Wconversion" # These warnings usually don't point to mistakes.