xref: /linux/tools/perf/scripts/perl/Perf-Trace-Util/Build (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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