Use CMAKE_BUILD_TYPE=MinSizeRel on aarch64 manylinux2014

This commit is contained in:
Frankie Dintino 2025-04-17 12:52:20 -04:00
parent 8ab93db932
commit a005e28152
No known key found for this signature in database
GPG Key ID: 97E295AACFBABD9E

View File

@ -113,7 +113,7 @@ function build_libavif {
if [ -n "$IS_MACOS" ]; then
lto=OFF
elif [[ "$MB_ML_VER" == 2014 ]]; then
elif [[ "$MB_ML_VER" == 2014 ]] && [[ "$PLAT" == "x86_64" ]]; then
build_type=Release
fi