Improve conditional branching for future winarm64 support
This commit is contained in:
parent
b11d9ace2e
commit
6dd75b796a
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ ffbuild_dockerbuild() {
|
|||
--with-incoming-stack-boundary=2
|
||||
)
|
||||
|
||||
if [[ $TARGET != linuxarm64 ]]; then
|
||||
if [[ $TARGET != *arm64 ]]; then
|
||||
myconf+=(
|
||||
--enable-sse2
|
||||
--enable-avx
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue