uutils-coreutils: Avoid building twice (#25803)
This commit is contained in:
parent
83eed71552
commit
59fcdfcb73
@ -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}"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user