X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Flinking%2FMakefile.am;h=5edcb9374b5283d8def88a8022b71318f4f1424a;hb=1970828049d051d5cb485dfab995081b4550fd2a;hp=febb6e3c11dadc9749c579358f7813b619b4cc40;hpb=20dd2de1fa1efe1519d1b6e88386efa89d60d1b9;p=lttng-tools.git diff --git a/tests/regression/ust/linking/Makefile.am b/tests/regression/ust/linking/Makefile.am index febb6e3c1..5edcb9374 100644 --- a/tests/regression/ust/linking/Makefile.am +++ b/tests/regression/ust/linking/Makefile.am @@ -1,6 +1,15 @@ +# 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 + +# 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.