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