aboutsummaryrefslogtreecommitdiffstats
path: root/community/vidstab/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-06-14 10:28:08 +0200
committerBart Ribbers <bribbers@disroot.org>2021-06-14 10:28:08 +0200
commit1b70c952f2dd09d74d3c520a2fc3ee9ef33d5ad5 (patch)
tree0aad64d3641c4b9536ecec16ee99622a54a593f3 /community/vidstab/APKBUILD
parent71a2b04aca9441ca1e6c5a247ea15f35612f6c46 (diff)
downloadaports-1b70c952f2dd09d74d3c520a2fc3ee9ef33d5ad5.tar.gz
aports-1b70c952f2dd09d74d3c520a2fc3ee9ef33d5ad5.tar.bz2
aports-1b70c952f2dd09d74d3c520a2fc3ee9ef33d5ad5.tar.xz
community/vidstab: fix build on riscv64
Diffstat (limited to 'community/vidstab/APKBUILD')
-rw-r--r--community/vidstab/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/vidstab/APKBUILD b/community/vidstab/APKBUILD
index c68d48bf2c..9298703e2c 100644
--- a/community/vidstab/APKBUILD
+++ b/community/vidstab/APKBUILD
@@ -14,10 +14,12 @@ options="!check" # No tests
builddir="$srcdir/vid.stab-$pkgver"
build() {
+ [ "$CARCH" = "riscv64" ] && _sse2="-DSSE2_FOUND=false"
+
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib
+ $_sse2
cmake --build build
}