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