Skip to content

Commit

Permalink
test clang wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
jerson committed Sep 19, 2021
1 parent b708299 commit a71c041
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clangwrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ elif [ "$GOARCH" == "arm64" ]; then
CARCH="arm64"
elif [ "$GOARCH" == "arm" ]; then
CARCH="armv7"
elif [ "$GOARCH" == "386" ]; then
CARCH="i386"
fi

exec $CLANG -arch $CARCH -isysroot $SDK_PATH -mios-version-min=10.0 "$@"
exec $CLANG -arch $CARCH -isysroot $SDK_PATH -mios-version-min=10.0 "$@"

0 comments on commit a71c041

Please sign in to comment.