mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
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
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue