qemu: hacks for aarch64-musl.

This commit is contained in:
Christian Neukirchen 2016-09-21 15:07:29 +02:00
parent e396d98061
commit 91ea647a3a
1 changed files with 5 additions and 0 deletions

View File

@ -31,8 +31,13 @@ vopt_conflict "sdl" "sdl2"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) build_options_default+=" spice";;
aarch64-musl) CFLAGS+=" -D_LINUX_SYSINFO_H";;
esac
post_extract() {
sed -i 's/__u64/unsigned long/' linux-user/host/aarch64/hostdep.h
}
do_configure() {
local args=