Use ThinLTO rather than fat LTO for uutils

This reduces compile times from 2m50s to 1m56s.
This commit is contained in:
bjorn3 2025-11-22 22:25:40 +01:00
parent 08f5d72ce1
commit 2941e1dcda

View File

@ -6,7 +6,7 @@ git = "https://github.com/uutils/coreutils"
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo --no-default-features --features feat_os_unix_redox --bin coreutils
CARGO_PROFILE_RELEASE_LTO=thin cookbook_cargo --no-default-features --features feat_os_unix_redox --bin coreutils
BINS=(
'['