1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 02:27:44 +00:00

AK+Toolchain: Make char and wchar_t behave on AARCH64

By default char and wchar_t are unsigned on AARCH64. This fixes a
bunch of related compiler errors.
This commit is contained in:
Gunnar Beutner 2022-10-12 22:00:21 +02:00 committed by Linus Groh
parent 31bd5b1a02
commit a650c74b27
4 changed files with 29 additions and 10 deletions

View file

@ -182,6 +182,11 @@ if (ENABLE_COMPILETIME_FORMAT_CHECK)
add_compile_definitions(ENABLE_COMPILETIME_FORMAT_CHECK)
endif()
if("${SERENITY_ARCH}" STREQUAL "aarch64")
# FIXME: re-enable this warning
add_compile_options(-Wno-type-limits)
endif()
add_link_options(-Wno-unused-command-line-argument)
include_directories(.)