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:
parent
62c8b42290
commit
1ff64d01cf
|
@ -65,6 +65,12 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] || [ "$ARCH" = "arm" ] ; then
|
||||
ASSEMBLY_OPT="--disable-asm"
|
||||
else
|
||||
ASSEMBLY_OPT=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
|
||||
|
||||
|
@ -92,6 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--enable-lto \
|
||||
--enable-strip \
|
||||
--bit-depth='8' \
|
||||
$ASSEMBLY_OPT \
|
||||
--chroma-format='all'
|
||||
|
||||
make
|
||||
|
|
Loading…
Reference in New Issue