libjpeg-turbo: dont build with SIMD support if disabled

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-07-28 03:12:03 +02:00
parent a5f7de92e1
commit 03101f5018

View File

@ -24,6 +24,10 @@
CFLAGS="$CFLAGS -fPIC -DPIC"
if [ $SIMD_SUPPORT = "no" ]; then
LIBJPEG_SIMD="--without-simd"
fi
cd $PKG_BUILD
mkdir -p .build-target && cd .build-target
../configure --host=$TARGET_NAME \
@ -33,7 +37,8 @@ mkdir -p .build-target && cd .build-target
--localstatedir=/var \
--enable-static \
--disable-shared \
--with-jpeg8
--with-jpeg8 \
$LIBJPEG_SIMD
make