From 6dd75b796a45eecca69ccbaeb46584df85e3d5c0 Mon Sep 17 00:00:00 2001 From: tsukumi Date: Wed, 11 May 2022 04:21:59 +0900 Subject: [PATCH] Improve conditional branching for future winarm64 support --- scripts.d/25-fftw3.sh | 2 +- scripts.d/50-vidstab.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts.d/25-fftw3.sh b/scripts.d/25-fftw3.sh index f568c9e..8173824 100755 --- a/scripts.d/25-fftw3.sh +++ b/scripts.d/25-fftw3.sh @@ -31,7 +31,7 @@ ffbuild_dockerbuild() { --with-incoming-stack-boundary=2 ) - if [[ $TARGET != linuxarm64 ]]; then + if [[ $TARGET != *arm64 ]]; then myconf+=( --enable-sse2 --enable-avx diff --git a/scripts.d/50-vidstab.sh b/scripts.d/50-vidstab.sh index 62447fc..e9326e4 100755 --- a/scripts.d/50-vidstab.sh +++ b/scripts.d/50-vidstab.sh @@ -16,7 +16,7 @@ ffbuild_dockerbuild() { mkdir build && cd build local disable_sse2="" - if [[ $TARGET == linuxarm64 ]]; then + if [[ $TARGET == *arm64 ]]; then disable_sse2=-DSSE2_FOUND=FALSE fi