mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 15:10:19 +00:00
Everywhere: Enable building userspace and test binaries on AARCH64
Surely this will just work once the kernel boots, right?
This commit is contained in:
parent
a7a71be113
commit
3065577b54
Notes:
sideshowbarker
2024-07-17 18:08:55 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/3065577b54 Pull-request: https://github.com/SerenityOS/serenity/pull/15558 Reviewed-by: https://github.com/BertalanD Reviewed-by: https://github.com/FireFox317 Reviewed-by: https://github.com/awesomekling ✅ Reviewed-by: https://github.com/linusg
1 changed files with 9 additions and 7 deletions
|
@ -228,20 +228,22 @@ endif()
|
|||
|
||||
add_subdirectory(AK)
|
||||
add_subdirectory(Kernel)
|
||||
if(NOT "${SERENITY_ARCH}" STREQUAL "aarch64")
|
||||
if (ENABLE_MOLD_LINKER)
|
||||
add_link_options(-fuse-ld=mold)
|
||||
endif()
|
||||
|
||||
if (ENABLE_MOLD_LINKER)
|
||||
add_link_options(-fuse-ld=mold)
|
||||
endif()
|
||||
|
||||
if(NOT "${SERENITY_ARCH}" STREQUAL "aarch64")
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang$" OR ENABLE_MOLD_LINKER)
|
||||
add_link_options(LINKER:--pack-dyn-relocs=relr)
|
||||
else()
|
||||
add_link_options(LINKER:-z,pack-relative-relocs)
|
||||
endif()
|
||||
|
||||
add_subdirectory(Userland)
|
||||
add_subdirectory(Tests)
|
||||
endif()
|
||||
|
||||
add_subdirectory(Userland)
|
||||
add_subdirectory(Tests)
|
||||
|
||||
if (ENABLE_COMPILETIME_HEADER_CHECK)
|
||||
add_subdirectory(Meta/HeaderCheck)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue