From 89beb036413a32f60af72430631a41d5595157e7 Mon Sep 17 00:00:00 2001 From: Juergen Buchmueller Date: Mon, 12 Dec 2016 08:49:12 +0100 Subject: [PATCH] pulseaudio: fix cross arm* Disabling neon for the arm* architectures fixes cross compiling. --- srcpkgs/pulseaudio/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/pulseaudio/template b/srcpkgs/pulseaudio/template index c1411945bc4..be67d8b139e 100644 --- a/srcpkgs/pulseaudio/template +++ b/srcpkgs/pulseaudio/template @@ -1,7 +1,7 @@ # Template file for 'pulseaudio' pkgname=pulseaudio version=9.0 -revision=3 +revision=4 build_style=gnu-configure configure_args="--disable-oss-output --disable-oss-wrapper --disable-tcpwrap --enable-jack --disable-lirc --disable-hal-compat --disable-gconf --enable-orc @@ -33,6 +33,11 @@ pulse_homedir="/var/run/pulse" distfiles="${FREEDESKTOP_SITE}/${pkgname}/releases/${pkgname}-${version}.tar.xz" checksum=c3d3d66b827f18fbe903fe3df647013f09fc1e2191c035be1ee2d82a9e404686 +case "$XBPS_TARGET_MACHINE" in + # Disable neon optimizations for the arm* architectures + arm*) configure_args+=" --disable-neon-opt" ;; +esac + pre_configure() { NOCONFIGURE=1 ./bootstrap.sh }