configure: enable -Wformat=2
[lttng-tools.git] / tests / regression / ust / linking / Makefile.am
index bf0a517ad3b33b48ca69ff17b9a91a527dafb868..424afd1c5776a8cc89bec902d701f6ecf66c0a9e 100644 (file)
@@ -2,7 +2,10 @@
 
 # -Wsystem-headers is needed to print warnings in the tracepoint
 # description file.
 
 # -Wsystem-headers is needed to print warnings in the tracepoint
 # description file.
-AM_CPPFLAGS += -I$(srcdir) -Wsystem-headers
+#
+# However, we see some -Wformat-nonliteral warnings in some system headers,
+# so disable that.
+AM_CPPFLAGS += -I$(srcdir) -Wsystem-headers -Wno-format-nonliteral
 
 # Set LIBS to nothing so the application does not link on useless
 # libraries.
 
 # Set LIBS to nothing so the application does not link on useless
 # libraries.
This page took 0.023379 seconds and 4 git commands to generate.