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

Kernel: Add StdLib.cpp to aarch64 build and update stubs in dummy.cpp

This commit is contained in:
James Mintram 2021-10-14 20:22:45 +01:00 committed by Linus Groh
parent e8f09279d3
commit 3a9c7ce9d4
2 changed files with 35 additions and 15 deletions

View file

@ -371,12 +371,12 @@ else()
Arch/aarch64/dummy.cpp
Arch/aarch64/SmapDisabler.cpp
Arch/aarch64/ScopedCritical.cpp
StdLib.cpp
UBSanitizer.cpp
)
# Otherwise linker errors e.g undefined reference to `__aarch64_cas8_acq_rel'
add_compile_options(-mno-outline-atomics)
add_compile_options(-mno-outline-atomics -latomic)
endif()
add_compile_options(-fsigned-char)