Files
Florian Larysch 608967e670 package/pahole: fix build on modern toolchains
When building pahole using a modern GCC (e.g. when building
host-pahole), discarded-qualifiers warnings are produced. In builds that
don't set CMAKE_BUILD_TYPE=Release, -Werror gets set and causes a build
failure.

Fix this by backporting the applicable parts of an upstream patch and
fixing a remaining issue that implicitly got refactored away upstream
already.

Signed-off-by: Florian Larysch <fl@n621.de>
(cherry picked from commit 8419f0f0c7)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-07-24 15:40:41 +02:00
..