diff --git a/wheelbuild/config.sh b/wheelbuild/config.sh index 6cd4aff..8a58b19 100644 --- a/wheelbuild/config.sh +++ b/wheelbuild/config.sh @@ -297,8 +297,9 @@ EOF -DAVIF_CODEC_DAV1D=LOCAL \ -DAVIF_BUILD_APPS=ON \ -DENABLE_NASM=ON \ - '-DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG -g' \ - '-DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG -g' \ + '-DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG -g -march=armv8-a+crc+crypto+dotprod+i8mm -mcpu=generic' \ + '-DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG -g -march=armv8-a+crc+crypto+dotprod+i8mm -mcpu=generic' \ + '-DCMAKE_EXE_LINKER_FLAGS=-march=armv8-a+crc+crypto+dotprod+i8mm -target arm64-apple-macos11' \ "${LIBAVIF_CMAKE_FLAGS[@]}" \ && ninja -v install \ && cp avifenc ../../wheelhouse)