qemu: fix build

Modify the Makefile to work around an error
https://build.voidlinux.org/builders/x86_64_builder/builds/26654/steps/shell_3/logs/stdio
before running make install.
This commit is contained in:
Jürgen Buchmüller 2020-08-14 07:18:46 +02:00
parent b1c284e86e
commit 66d8cd8e68

View file

@ -80,6 +80,8 @@ do_install() {
# Remove our strip(1) wrapper... E2BIG.
rm -f ${XBPS_WRAPPERDIR}/strip
vsed -i Makefile -e 's;dtc/%:;dtc/libfdt:;'
make DESTDIR=${DESTDIR} install
# qemu-bridge-helper must be setuid for non privileged users.
chmod u+s ${DESTDIR}/usr/libexec/qemu-bridge-helper