From 26de9c400ee62ee70309f233b6dd68bf2ba70390 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 4 May 2021 12:47:44 +0200 Subject: [PATCH] build: Silence a cimpiler warning also in non-maintainer mode. -- This yields less warnings during a release build. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index fd249b230..f684a56a8 100644 --- a/configure.ac +++ b/configure.ac @@ -1643,6 +1643,9 @@ if test "$GCC" = yes; then else mycflags="$mycflags -Wall" + if test x"$_gcc_silent_wno" = xyes ; then + mycflags="$mycflags -Wno-format-zero-length" + fi fi if test x"$_gcc_silent_wno" = xyes ; then