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
Notes: sideshowbarker 2024-07-17 05:50:05 +09:00

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.