summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/perl/Perf-Trace-Util/Build
blob: cc76be005d5eb3c759560845fa3d0baf9f445a7f (plain)
1
2
3
4
5
6
7
8
9
perf-y += Context.o

CFLAGS_Context.o += $(PERL_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-bad-function-cast -Wno-declaration-after-statement -Wno-switch-enum
CFLAGS_Context.o += -Wno-unused-parameter -Wno-nested-externs -Wno-undef
CFLAGS_Context.o += -Wno-switch-default -Wno-shadow

ifeq ($(CC_NO_CLANG), 1)
  CFLAGS_Context.o += -Wno-unused-command-line-argument
endif