aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/davs2/davs2.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/multimedia/davs2/davs2.SlackBuild b/multimedia/davs2/davs2.SlackBuild
index 7258ebe04a51..edf3fed070d4 100644
--- a/multimedia/davs2/davs2.SlackBuild
+++ b/multimedia/davs2/davs2.SlackBuild
@@ -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