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')"
|
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
export RUSTONIG_DYNAMIC_LIBONIG=1
|
||||||
cd "${_realname}-${pkgver}"
|
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
|
||||||
|
# spliting build() sometimes cause building twice at make build
|
||||||
export RUSTONIG_DYNAMIC_LIBONIG=1
|
|
||||||
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
|
|
||||||
make PROFILE=release SKIP_UTILS='stty'
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${_realname}-${pkgver}"
|
cd "${_realname}-${pkgver}"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user