Skip to content

Commit

Permalink
Minor change to build-release.sh to accommodate macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kenshaw committed Oct 28, 2023
1 parent 95ad636 commit ce94cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ CC=
CXX=
EXTLD=g++

if [[ "$ARCH" != "$GOARCH" ]]; then
if [[ "$PLATFORM" == "linux" && "$ARCH" != "$GOARCH" ]]; then
case $ARCH in
arm) CARCH=armhf QEMUARCH=arm GNUTYPE=gnueabihf ;;
arm64) CARCH=aarch64 QEMUARCH=aarch64 GNUTYPE=gnu ;;
Expand Down

0 comments on commit ce94cac

Please sign in to comment.