mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
www-apps/zola: Only sed out strip and debug from Cargo.toml
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💭 <zyx@envs.net>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user