1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

Kernel: Remove -nodefaultlibs compiler options

This was necessary until a few months ago because of b0rked toolchain
options.
This commit is contained in:
Gunnar Beutner 2022-10-13 07:38:20 +02:00 committed by Linus Groh
parent 3065577b54
commit b7555419f1

View file

@ -539,8 +539,7 @@ endif()
add_compile_options(-fno-asynchronous-unwind-tables)
add_compile_options(-fstack-protector-strong)
add_compile_options(-fno-exceptions)
# FIXME: remove -nodefaultlibs after the next toolchain update
add_compile_options(-nodefaultlibs -nostdlib)
add_compile_options(-nostdlib)
# Auto initialize trivial types on the stack, we use "pattern" as
# it's the only option portable across compilers going forward.