aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-05-04 10:47:44 +0000
committerWerner Koch <[email protected]>2021-05-04 10:47:44 +0000
commit26de9c400ee62ee70309f233b6dd68bf2ba70390 (patch)
tree71bc4cef7e3828ce2ce800352b65044c78b0f7e5
parentgpg: Allow ECDH with a smartcard returning just the x-coordinate. (diff)
downloadgnupg-26de9c400ee62ee70309f233b6dd68bf2ba70390.tar.gz
gnupg-26de9c400ee62ee70309f233b6dd68bf2ba70390.zip
build: Silence a cimpiler warning also in non-maintainer mode.
-- This yields less warnings during a release build.
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
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