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