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
|
--with-incoming-stack-boundary=2
|
||||||
)
|
)
|
||||||
|
|
||||||
if [[ $TARGET != linuxarm64 ]]; then
|
if [[ $TARGET != *arm64 ]]; then
|
||||||
myconf+=(
|
myconf+=(
|
||||||
--enable-sse2
|
--enable-sse2
|
||||||
--enable-avx
|
--enable-avx
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue