strongswan/remove-warning-no-format.patch
2022-08-25 14:59:49 +08:00

16 lines
691 B
Diff

diff --git a/configure.ac b/configure.ac
index dd9d128c1..2b9fa8139 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1455,8 +1455,8 @@ if test x$warnings = xtrue; then
fi
# disable some warnings, whether explicitly enabled above or by default
# these are not compatible with our custom printf specifiers
-WARN_CFLAGS="$WARN_CFLAGS -Wno-format"
-WARN_CFLAGS="$WARN_CFLAGS -Wno-format-security"
+#WARN_CFLAGS="$WARN_CFLAGS -Wno-format"
+#WARN_CFLAGS="$WARN_CFLAGS -Wno-format-security"
# we generally use comments, but GCC doesn't seem to recognize many of them
WARN_CFLAGS="$WARN_CFLAGS -Wno-implicit-fallthrough"
# we often omit fields when initializing structs (e.g. when using INIT)