mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +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"
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user