xref: /linux/tools/perf/scripts/python/Perf-Trace-Util/Build (revision 4b029a81c24e6b249022bab37fa0b61bfcb5c242)
1perf-y += Context.o
2
3# -Wno-declaration-after-statement: The python headers have mixed code with declarations (decls after asserts, for instance)
4CFLAGS_Context.o += $(PYTHON_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-nested-externs -Wno-declaration-after-statement
5