diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template index b64284d3b18..6b5fb57b3b4 100644 --- a/srcpkgs/qemu/template +++ b/srcpkgs/qemu/template @@ -35,7 +35,7 @@ nostrip_files="hppa-firmware.img openbios-ppc openbios-sparc32 openbios-sparc64 opensbi-riscv64-generic-fw_dynamic.elf" build_options="gtk3 opengl sdl2 spice virgl smartcard numa iscsi jack pulseaudio" -build_options_default="opengl gtk3 virgl sdl2 numa iscsi jack pulseaudio spice" +build_options_default="opengl gtk3 virgl sdl2 numa iscsi jack pulseaudio" desc_option_sdl2="Enable SDL (2.x) video output" desc_option_spice="Enable support for SPICE" desc_option_virgl="Enable support for VirGL (A Virtual 3D GPU renderer)" @@ -47,6 +47,10 @@ case "$XBPS_TARGET_MACHINE" in aarch64-musl) CFLAGS="-D_LINUX_SYSINFO_H";; esac +if [ "$XBPS_TARGET_ENDIAN" = "le" ]; then + build_options_default+=" spice" +fi + if [ "$CROSS_BUILD" ]; then configure_args+=" --cross-prefix=${XBPS_CROSS_TRIPLET}-" else