summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-06-06 14:07:23 +0200
committerThomas Haller <thaller@redhat.com>2016-06-06 14:07:23 +0200
commitb8b68e212d526fe4c94a6291d21612d4ac1cb094 (patch)
tree49b5b0eb962ea5dbf61c5de6c0cf1248103b7ca6
parentfa6b1070fcf6ae267e766ca1d2c8de0ac1b85255 (diff)
downloadNetworkManager-b8b68e212d526fe4c94a6291d21612d4ac1cb094.tar.gz
build: disable warning "-Wformat-y2k"
https://bugzilla.gnome.org/show_bug.cgi?id=767207
-rw-r--r--m4/compiler_options.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4
index 496873ea8a..fa11c522e6 100644
--- a/m4/compiler_options.m4
+++ b/m4/compiler_options.m4
@@ -67,6 +67,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
-Wno-duplicate-decl-specifier \
-Wstrict-prototypes \
-Wno-unused-but-set-variable \
+ -Wno-format-y2k \
-Wundef -Wimplicit-function-declaration \
-Wpointer-arith -Winit-self -Wformat-nonliteral \
-Wmissing-include-dirs -Wno-pragmas; do