xref: /linux/tools/perf/scripts/perl/Perf-Trace-Util/Build (revision da5b2ad1c2f18834cb1ce429e2e5a5cf5cbdf21b)
1perf-util-y += Context.o
2
3CFLAGS_Context.o += $(PERL_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-bad-function-cast -Wno-declaration-after-statement -Wno-switch-enum
4CFLAGS_Context.o += -Wno-unused-parameter -Wno-nested-externs -Wno-undef
5CFLAGS_Context.o += -Wno-switch-default -Wno-shadow
6
7ifeq ($(CC_NO_CLANG), 1)
8  CFLAGS_Context.o += -Wno-unused-command-line-argument
9endif
10