Skip to content

Commit

Permalink
BUILD - macos - lower optimizations on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ciscon committed Nov 4, 2023
1 parent 2e4f1c2 commit 93fafca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/scripts/homebrew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ function build_intel() {

function build_arm64() {
export CPU="arm64"
make strip DARWIN_TARGET=arm64-apple-macos12
export CFLAGS="-O1 -Wall -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-strict-aliasing -Werror=strict-prototypes -Werror=old-style-definition -g -MMD"
make strip DARWIN_TARGET=arm64-apple-macos13
}

case $1 in
Expand Down

0 comments on commit 93fafca

Please sign in to comment.