aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2023-07-30 16:41:45 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-05 10:08:46 +0700
commit1ff64d01cf7a412cc63d4e479a9e6413801760f3 (patch)
tree33f2d8557f1480fdc335100f309dc55de7201a81 /multimedia
parent62c8b422905c942496660567249e7e7ad3b947c7 (diff)
multimedia/davs2: Fix x86/arm build.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-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 7258ebe04a51a..edf3fed070d43 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