mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
libjpeg-turbo: dont build with SIMD support if disabled
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
a5f7de92e1
commit
03101f5018
@ -24,6 +24,10 @@
|
|||||||
|
|
||||||
CFLAGS="$CFLAGS -fPIC -DPIC"
|
CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||||
|
|
||||||
|
if [ $SIMD_SUPPORT = "no" ]; then
|
||||||
|
LIBJPEG_SIMD="--without-simd"
|
||||||
|
fi
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
mkdir -p .build-target && cd .build-target
|
mkdir -p .build-target && cd .build-target
|
||||||
../configure --host=$TARGET_NAME \
|
../configure --host=$TARGET_NAME \
|
||||||
@ -33,7 +37,8 @@ mkdir -p .build-target && cd .build-target
|
|||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
--with-jpeg8
|
--with-jpeg8 \
|
||||||
|
$LIBJPEG_SIMD
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user