multimedia/davs2: Fix x86/arm build.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2023-07-30 16:41:45 +09:00 committed by Willy Sudiarto Raharjo
parent 62c8b42290
commit 1ff64d01cf
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -65,6 +65,12 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] || [ "$ARCH" = "arm" ] ; then
ASSEMBLY_OPT="--disable-asm"
else
ASSEMBLY_OPT=""
fi
set -e set -e
trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
@ -92,6 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-lto \ --enable-lto \
--enable-strip \ --enable-strip \
--bit-depth='8' \ --bit-depth='8' \
$ASSEMBLY_OPT \
--chroma-format='all' --chroma-format='all'
make make