From b77cee379f4b03a43f6caab31881e543f7d36525 Mon Sep 17 00:00:00 2001
From: bjorn3 <17426603+bjorn3@users.noreply.github.com>
Date: Tue, 3 Oct 2023 09:39:45 +0200
Subject: [PATCH] Move debuginfo and LTO option to Cargo.toml

---
 recipes/kernel/recipe.toml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/recipes/kernel/recipe.toml b/recipes/kernel/recipe.toml
index 4d151de8f..3cdd91c15 100644
--- a/recipes/kernel/recipe.toml
+++ b/recipes/kernel/recipe.toml
@@ -14,8 +14,6 @@ cargo rustc \
 	-Z build-std=core,alloc \
 	-- \
 	-C soft-float \
-	-C debuginfo=2 \
-	-C lto \
 	--emit link="${PWD}/libkernel.a"
 "${TARGET}-ld" \
 	--gc-sections \
-- 
GitLab