mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
Kernel: Fix aarch64 build by adding -Wno-nonnull flag
The compiler figured out that the MemoryManager is not initialised, and thus MemoryManager::the() cannot return a valid reference. Once the necesarry code is in place, this compiler flag can be removed.
This commit is contained in:
parent
b8de830683
commit
b3346aa08d
1 changed files with 3 additions and 0 deletions
|
@ -447,6 +447,9 @@ else()
|
|||
|
||||
# Otherwise linker errors e.g undefined reference to `__aarch64_cas8_acq_rel'
|
||||
add_compile_options(-mno-outline-atomics -latomic)
|
||||
|
||||
# FIXME: Remove this once compiling MemoryManager.cpp doesn't give the nonnull error anymore.
|
||||
add_compile_options(-Wno-nonnull)
|
||||
endif()
|
||||
|
||||
add_compile_options(-fsigned-char)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue