rust-analyzer: update to 2024.10.07.
[void-pkg.git] / common / build-helper / qemu.sh
blob4fbd5fb86dde0c9a781f19cca6e52df6e724774f
1 if [ "$CROSS_BUILD" ]; then
2 export QEMU_LD_PREFIX=${XBPS_CROSS_BASE}
3 hostmakedepends+=" qemu-user-${XBPS_TARGET_QEMU_MACHINE/x86_64/amd64}"
4 fi
6 vtargetrun() {
7 if [ "$CROSS_BUILD" ]; then
8 "/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static" "$@"
9 else
10 "$@"