From 23676bee1f95ab3d441a44b4601670ab7fcabf0d Mon Sep 17 00:00:00 2001 From: James Mintram Date: Thu, 14 Oct 2021 00:04:04 +0100 Subject: [PATCH] Kernel: Add -fsigned-char to ensure consistency across platforms --- Kernel/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt index 108f349c1d..8870bb01a6 100644 --- a/Kernel/CMakeLists.txt +++ b/Kernel/CMakeLists.txt @@ -362,6 +362,7 @@ else() ) endif() +add_compile_options(-fsigned-char) add_compile_options(-Wno-unknown-warning-option -Wvla -Wnull-dereference) add_compile_options(-fno-rtti -ffreestanding -fbuiltin) if ("${SERENITY_ARCH}" STREQUAL "i686" OR "${SERENITY_ARCH}" STREQUAL "x86_64")