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

Kernel: Build UBSanitizer.cpp in aarch64 builds

All these symbols will be needed once we build MiniStdLib.cpp.
This commit is contained in:
Nico Weber 2021-09-06 21:01:13 -04:00 committed by Linus Groh
parent d0b0c45690
commit 208aa05cf3
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,5 @@
set(SOURCES
UBSanitizer.cpp
)
if ("${SERENITY_ARCH}" STREQUAL "aarch64")
set(SOURCES
@ -12,7 +13,6 @@ else()
Arch/x86/boot.S
Arch/x86/multiboot.S
# FIXME: Eventually, some of these should build on aarch64 too.
UBSanitizer.cpp
init.cpp
../MiniStdLib.cpp
../../Userland/Libraries/LibELF/Relocation.cpp