rav1e: disable auditable on builder

This commit is contained in:
Đoàn Trần Công Danh 2023-08-03 15:52:13 +07:00
parent 1e388caeac
commit 048a0bd415

View file

@ -16,12 +16,15 @@ case "$XBPS_TARGET_MACHINE" in
esac
post_build() {
# 32 bit off_t, no idea how to widen it
if [ "$XBPS_WORDSIZE" = 32 ]; then return; fi
cargo auditable cbuild --release --target ${RUST_TARGET} \
--library-type cdylib --library-type staticlib \
--destdir="${DESTDIR}" --prefix="/usr" ${configure_args}
}
post_install() {
if [ "$XBPS_WORDSIZE" = 32 ]; then return; fi
cargo auditable cinstall --release --target ${RUST_TARGET} \
--library-type cdylib --library-type staticlib \
--destdir="${DESTDIR}" --prefix="/usr" --offline --locked ${configure_args}