Kernel: Do not specify new alignment for aarch64

Using the alignment of 4 causes a panic in the aarch64 Kernel. Instead
just don't pass the flag, which will use the default alignment.
This commit is contained in:
Timon Kruiper 2022-05-17 09:41:25 +02:00 committed by Linus Groh
parent cbe1717181
commit 846d9ae858
Notes: sideshowbarker 2024-07-17 10:31:03 +09:00

View file

@ -518,7 +518,7 @@ endmacro()
if ("${SERENITY_ARCH}" STREQUAL "x86_64")
add_compile_options(-mcmodel=large -mno-red-zone)
set_new_alignment(8)
else()
elseif ("${SERENITY_ARCH}" STREQUAL "i686")
set_new_alignment(4)
endif()