X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Flinking%2FMakefile.am;h=5edcb9374b5283d8def88a8022b71318f4f1424a;hb=1970828049d051d5cb485dfab995081b4550fd2a;hp=bf0a517ad3b33b48ca69ff17b9a91a527dafb868;hpb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;p=lttng-tools.git diff --git a/tests/regression/ust/linking/Makefile.am b/tests/regression/ust/linking/Makefile.am index bf0a517ad..5edcb9374 100644 --- a/tests/regression/ust/linking/Makefile.am +++ b/tests/regression/ust/linking/Makefile.am @@ -2,7 +2,14 @@ # -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 + +# Disable some warnings flags to accomodate the tracepoint headers +AM_CFLAGS += \ + -Wno-redundant-decls # Set LIBS to nothing so the application does not link on useless # libraries.