mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
perf build: Add -funsigned-char to default CFLAGS
Commit 3bc753c06d ("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>
This commit is contained in:
parent
74e2dbe7be
commit
be867c49fe
|
|
@ -349,6 +349,7 @@ CORE_CFLAGS += -fno-omit-frame-pointer
|
||||||
CORE_CFLAGS += -Wall
|
CORE_CFLAGS += -Wall
|
||||||
CORE_CFLAGS += -Wextra
|
CORE_CFLAGS += -Wextra
|
||||||
CORE_CFLAGS += -std=gnu11
|
CORE_CFLAGS += -std=gnu11
|
||||||
|
CORE_CFLAGS += -funsigned-char
|
||||||
|
|
||||||
CXXFLAGS += -std=gnu++17 -fno-exceptions -fno-rtti
|
CXXFLAGS += -std=gnu++17 -fno-exceptions -fno-rtti
|
||||||
CXXFLAGS += -Wall
|
CXXFLAGS += -Wall
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user