]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf build: Add -funsigned-char to default CFLAGS
authorIan Rogers <irogers@google.com>
Fri, 6 Mar 2026 19:19:08 +0000 (11:19 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 1 Apr 2026 03:22:02 +0000 (20:22 -0700)
commitbe867c49fe62d56b5a4c2e08ce47dd396d13714f
tree37192586c1673e6f4b7e5796fa6ef83f32026f5d
parent74e2dbe7be5037a5e5eed6bc1ad562747ac88566
perf build: Add -funsigned-char to default CFLAGS

Commit 3bc753c06dd0 ("kbuild: treat char as always unsigned") made
chars unsigned by default in the Linux kernel. To avoid similar kinds
of bugs and warnings, make unsigned chars the default for the perf tool.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/Makefile.config