pacemaker/pacemaker-Wno-format-signedness.patch

20 lines
861 B
Diff
Raw Normal View History

Index: pacemaker-1.1.14+git20160503.9e38256/configure.ac
===================================================================
--- pacemaker-1.1.14+git20160503.9e38256.orig/configure.ac
+++ pacemaker-1.1.14+git20160503.9e38256/configure.ac
@@ -1792,12 +1792,12 @@ dnl otherwise none of both
AC_DEFINE([GCC_FORMAT_NONLITERAL_CHECKING_ENABLED], [],
[gcc can complain about nonliterals in format])
EXTRA_FLAGS="$EXTRA_FLAGS
- -Wformat=2
+ -Wformat=2 -Wno-format-signedness
-Wformat-nonliteral"
else
if test "x$gcc_format_nonliteral" = "xyes"; then
EXTRA_FLAGS="$EXTRA_FLAGS
- -Wformat=2"
+ -Wformat=2 -Wno-format-signedness"
fi
fi