From 97b2a3b278d352eff71c2d9b8dfcaf9fb0fcfdba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zyxhere=F0=9F=92=AD?= Date: Thu, 4 Jun 2026 08:52:28 +0000 Subject: [PATCH] www-apps/zola: Only sed out `strip` and `debug` from Cargo.toml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise LTO also gets disabled and upstream wants LTO as it decreases binary size (45M -> 38M). Though LTO also substantially increases build times due to `codegen-units=1` Signed-off-by: zyxhere💭 --- www-apps/zola/zola-0.22.1-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-apps/zola/zola-0.22.1-r3.ebuild b/www-apps/zola/zola-0.22.1-r3.ebuild index a48f9c6e6a..63ac45a2d0 100644 --- a/www-apps/zola/zola-0.22.1-r3.ebuild +++ b/www-apps/zola/zola-0.22.1-r3.ebuild @@ -642,7 +642,7 @@ BDEPEND="virtual/pkgconfig" src_prepare() { default # Upstream enables stripping on rel and disables debuginfo on dev - sed -i 's:profile:ignore:' Cargo.toml || die + sed -i '/strip/d;/debug = 0/d' Cargo.toml # update libwebp-sys in webp crate local libwebp_PV=0.14.2 webp_P=webp-0.3.1