aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Build
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-05-27 21:37:18 -0700
committerDmitry Torokhov <[email protected]>2024-05-27 21:37:18 -0700
commit6f47c7ae8c7afaf9ad291d39f0d3974f191a7946 (patch)
tree74ce89b352cb8096e6a94ddc8597274d3e2d53ce /tools/perf/scripts/python/Perf-Trace-Util/Build
parent832f54c9ccd3a3f32d1db905462d3c58b4df52bd (diff)
parenta38297e3fb012ddfa7ce0321a7e5a8daeb1872b6 (diff)
Merge tag 'v6.9' into next
Sync up with the mainline to bring in the new cleanup API.
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Build')
-rw-r--r--tools/perf/scripts/python/Perf-Trace-Util/Build3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/scripts/python/Perf-Trace-Util/Build b/tools/perf/scripts/python/Perf-Trace-Util/Build
index 7d0e33ce6aba..5b0b5ff7e14a 100644
--- a/tools/perf/scripts/python/Perf-Trace-Util/Build
+++ b/tools/perf/scripts/python/Perf-Trace-Util/Build
@@ -1,3 +1,4 @@
perf-y += Context.o
-CFLAGS_Context.o += $(PYTHON_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-nested-externs
+# -Wno-declaration-after-statement: The python headers have mixed code with declarations (decls after asserts, for instance)
+CFLAGS_Context.o += $(PYTHON_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-nested-externs -Wno-declaration-after-statement