Browse Source

Kernel: Remove -nodefaultlibs compiler options

This was necessary until a few months ago because of b0rked toolchain
options.
Gunnar Beutner 2 years ago
parent
commit
b7555419f1
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Kernel/CMakeLists.txt

+ 1 - 2
Kernel/CMakeLists.txt

@@ -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.