strongswan/remove-warning-no-format.patch

16 lines
691 B
Diff
Raw Normal View History

2022-08-14 08:39:17 +08:00
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)