pulseaudio: enable neon support only if neon is avaible

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-04-19 11:22:21 +02:00 committed by Lukas Rusak
parent f2325048b8
commit 575e9aeef2

View File

@ -48,11 +48,18 @@ else
PULSEAUDIO_AVAHI="--disable-avahi" PULSEAUDIO_AVAHI="--disable-avahi"
fi fi
if [ "$TARGET_FPU" = "neon" -o "$TARGET_FPU" = "neon-fp16" -o "$TARGET_FPU" = "neon-vfpv4" ]; then
PULSEAUDIO_NEON="--enable-neon-opt"
else
PULSEAUDIO_NEON="--disable-neon-opt"
fi
# package specific configure options # package specific configure options
PKG_CONFIGURE_OPTS_TARGET="--disable-silent-rules \ PKG_CONFIGURE_OPTS_TARGET="--disable-silent-rules \
--disable-nls \ --disable-nls \
--enable-largefile \ --enable-largefile \
--disable-rpath \ --disable-rpath \
$PULSEAUDIO_NEON \
--disable-x11 \ --disable-x11 \
--disable-tests \ --disable-tests \
--disable-samplerate \ --disable-samplerate \