From b7555419f12c71298f904967a024611e67a1a878 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 13 Oct 2022 07:38:20 +0200 Subject: [PATCH] Kernel: Remove -nodefaultlibs compiler options This was necessary until a few months ago because of b0rked toolchain options. --- Kernel/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt index f6420c5357..56104ff750 100644 --- a/Kernel/CMakeLists.txt +++ b/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.