Improve conditional branching for future winarm64 support

This commit is contained in:
tsukumi 2022-05-11 04:21:59 +09:00
parent b11d9ace2e
commit 6dd75b796a
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ ffbuild_dockerbuild() {
--with-incoming-stack-boundary=2 --with-incoming-stack-boundary=2
) )
if [[ $TARGET != linuxarm64 ]]; then if [[ $TARGET != *arm64 ]]; then
myconf+=( myconf+=(
--enable-sse2 --enable-sse2
--enable-avx --enable-avx

View file

@ -16,7 +16,7 @@ ffbuild_dockerbuild() {
mkdir build && cd build mkdir build && cd build
local disable_sse2="" local disable_sse2=""
if [[ $TARGET == linuxarm64 ]]; then if [[ $TARGET == *arm64 ]]; then
disable_sse2=-DSSE2_FOUND=FALSE disable_sse2=-DSSE2_FOUND=FALSE
fi fi