mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +00:00
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:
parent
cbe1717181
commit
846d9ae858
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue