uutils-coreutils: Avoid building twice (#25803)

This commit is contained in:
E 2025-10-05 02:26:34 +09:00 committed by GitHub
parent 83eed71552
commit 59fcdfcb73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,14 +26,9 @@ prepare() {
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
cd "${_realname}-${pkgver}"
export RUSTONIG_DYNAMIC_LIBONIG=1
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
make PROFILE=release SKIP_UTILS='stty'
}
export RUSTONIG_DYNAMIC_LIBONIG=1
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
# spliting build() sometimes cause building twice at make build
package() {
cd "${_realname}-${pkgver}"