buildmtoc: Add ARCHS=x86_64 to build mtoc

This commit is contained in:
stevezhengshiqi 2024-05-10 22:19:03 -04:00
parent 250011e6b1
commit a419ab6832
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ fnCompileMtoc ()
if [[ ${OSXVER} < 10.15 ]]; then
cmd="(make LTO= EFITOOLS=efitools -C libstuff) && (make -C efitools)"
else
cmd="(xcodebuild -scheme mtoc -configuration Release ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=$PREFIX/bin)"
cmd="(xcodebuild -scheme mtoc -configuration Release ARCHS=x86_64 ONLY_ACTIVE_ARCH=YES CONFIGURATION_BUILD_DIR=$PREFIX/bin)"
fi
logfile="$DIR_LOGS/mtoc.make.log.txt"
echo "$cmd" > "$logfile"