Skip to content

Commit

Permalink
Merge pull request #687 from stevezhengshiqi/master
Browse files Browse the repository at this point in the history
buildmtoc: Add ARCHS=x86_64 to build mtoc
  • Loading branch information
chris1111 authored May 11, 2024
2 parents 250011e + a4b5ed3 commit d8fc375
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions buildme
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ COL_WHITE="\x1b[37;01m"
COL_BLUE="\x1b[34;01m"
COL_RESET="\x1b[39;49;00m"
# ====== Main Window SetUp ======
if [[ "$2" != ci ]]; then
osascript <<EOF
tell application "System Events" to tell application "Finder"
tell process "Terminal"
Expand All @@ -37,6 +38,7 @@ tell application "Terminal"
# set position of first window to {650, 420}
end tell
EOF
fi
# ====== Clover workspace SetUp ======
cd "$(dirname $([ -L $0 ] && readlink $0 || echo $0))"
declare -r CLOVERROOT="$PWD"
Expand Down
2 changes: 1 addition & 1 deletion buildmtoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d8fc375

Please sign in to comment.