From 645f424c0249f2e53b322d5a75f37e383e3649b8 Mon Sep 17 00:00:00 2001 From: Daniel Pawlik Date: Mon, 11 Nov 2024 16:43:07 +0100 Subject: [PATCH] Enable LTO in snapshot short config --- configs/common/snapshot | 3 ++- configs/common/snapshot-short | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/common/snapshot b/configs/common/snapshot index 89811dc..7be5c3c 100644 --- a/configs/common/snapshot +++ b/configs/common/snapshot @@ -14,6 +14,7 @@ CONFIG_DEVEL=y CONFIG_JSON_CYCLONEDX_SBOM=y CONFIG_MAKE_TOOLCHAIN=y +CONFIG_USE_GC_SECTIONS=y +CONFIG_USE_LTO=y # Compile littlebit faster -# CONFIG_USE_LTO is not set CONFIG_USE_MOLD=y diff --git a/configs/common/snapshot-short b/configs/common/snapshot-short index be4f602..598df35 100644 --- a/configs/common/snapshot-short +++ b/configs/common/snapshot-short @@ -4,5 +4,5 @@ CONFIG_HAS_BPF_TOOLCHAIN=y CONFIG_SDK_LLVM_BPF=y CONFIG_USE_LLVM_BUILD=y -# CONFIG_USE_LTO is not set +CONFIG_USE_LTO=y CONFIG_USE_MOLD=y