strongswan/remove-warning-no-format.patch
2023-03-11 18:22:19 +08:00

16 lines
663 B
Diff

diff --git a/configure.ac b/configure.ac
index 8fb048e58..3d3f6b639 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1480,8 +1480,8 @@ else
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)