mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +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
Notes:
sideshowbarker
2024-07-17 10:31:03 +09:00
Author: https://github.com/FireFox317 Commit: https://github.com/SerenityOS/serenity/commit/846d9ae858 Pull-request: https://github.com/SerenityOS/serenity/pull/14146 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/BertalanD Reviewed-by: https://github.com/Hendiadyoin1 Reviewed-by: https://github.com/nico ✅
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…
Reference in a new issue