mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
qemu: unbreak cross builds
This commit is contained in:
parent
7858665868
commit
bee06b584e
1 changed files with 0 additions and 8 deletions
|
@ -8,7 +8,6 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||||
homepage="https://www.qemu.org"
|
homepage="https://www.qemu.org"
|
||||||
distfiles="https://wiki.qemu.org/download/qemu-${version}.tar.bz2"
|
distfiles="https://wiki.qemu.org/download/qemu-${version}.tar.bz2"
|
||||||
checksum=49f0de77410d4d0f7d0321ff2c2888b281381f06e1e2dac9ec4d061e3934f4ae
|
checksum=49f0de77410d4d0f7d0321ff2c2888b281381f06e1e2dac9ec4d061e3934f4ae
|
||||||
nocross=https://api.travis-ci.org/jobs/210268003/log.txt
|
|
||||||
|
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
hostmakedepends="pkg-config perl python3 automake libtool flex python3-Sphinx"
|
hostmakedepends="pkg-config perl python3 automake libtool flex python3-Sphinx"
|
||||||
|
@ -72,13 +71,6 @@ do_build() {
|
||||||
# Remove our strip(1) wrapper... E2BIG.
|
# Remove our strip(1) wrapper... E2BIG.
|
||||||
rm -f ${XBPS_WRAPPERDIR}/strip
|
rm -f ${XBPS_WRAPPERDIR}/strip
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
# XXX libtool execs cc and ar.
|
|
||||||
mkdir -p ${wrksrc}/cross
|
|
||||||
ln -sf /usr/bin/${XBPS_CROSS_TRIPLET}-gcc ${wrksrc}/cross/cc
|
|
||||||
ln -sf /usr/bin/${XBPS_CROSS_TRIPLET}-ar ${wrksrc}/cross/ar
|
|
||||||
export PATH=${wrksrc}/cross:$PATH
|
|
||||||
fi
|
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue