configure: enable -Wformat=2
[lttng-tools.git] / tests / regression / ust / linking / Makefile.am
index febb6e3c11dadc9749c579358f7813b619b4cc40..424afd1c5776a8cc89bec902d701f6ecf66c0a9e 100644 (file)
@@ -1,6 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 # -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.
This page took 0.022935 seconds and 4 git commands to generate.