From 0008143a7ee40d563cbac8dacc251dfc6f68b351 Mon Sep 17 00:00:00 2001 From: Thomas Yau Date: Mon, 17 Nov 2025 19:04:28 +0800 Subject: [PATCH] mac-catalyst: Add optimisations for X86_64 macOS catalyst app Previous developer forgot to add back optimisations for macOS catalyst x86_64, so add it back in to improve speed and efficiency. --- ios/autotools-ios-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/autotools-ios-helper.sh b/ios/autotools-ios-helper.sh index 4e5eeec..d5f9861 100755 --- a/ios/autotools-ios-helper.sh +++ b/ios/autotools-ios-helper.sh @@ -150,7 +150,7 @@ build_maccatalyst_x86_64() { export SDK="macosx" export PLATFORM="maccatalyst-x86_64" export EFFECTIVE_PLATFORM_NAME="-maccatalyst-x86_64" - export ARCH_OPTS="" + export ARCH_OPTS="--enable-aesni --enable-sp-asm --enable-intelasm" export ARCH_FLAGS="-arch x86_64" export HOST_FLAGS="${ARCH_FLAGS} -target x86_64-apple-ios13.1-macabi -isysroot $(xcrun --sdk ${SDK} --show-sdk-path) -iframework $(xcrun --sdk ${SDK} --show-sdk-path)/System/iOSSupport/System/Library/Frameworks" export CHOST="x86_64-apple-darwin"