Skip to content

Commit

Permalink
chore: set GOARM to 7 when building android version
Browse files Browse the repository at this point in the history
  • Loading branch information
nange committed May 14, 2024
1 parent 3e57898 commit 220b0b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ LDFLAGS += -X "github.com/nange/easyss/v2/version.GitTag=$(shell git describe --
GO := go
GO_BUILD := go build -ldflags '$(LDFLAGS)'
GO_BUILD_WIN := GOOS=windows GOARCH=amd64 CGO_ENABLED=1 go build -ldflags '-H=windowsgui $(LDFLAGS)'
GO_BUILD_ANDROID_ARM64 := GOOS=android GOARCH=arm64 CGO_ENABLED=1 CC=${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang go build -ldflags '$(LDFLAGS)'
GO_BUILD_ANDROID_AMD64 := GOOS=android GOARCH=amd64 CGO_ENABLED=1 CC=${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android21-clang go build -ldflags '$(LDFLAGS)'
GO_BUILD_ANDROID_ARM64 := GOOS=android GOARCH=arm64 GOARM=7 CGO_ENABLED=1 CC=${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang go build -ldflags '$(LDFLAGS)'
GO_BUILD_ANDROID_AMD64 := GOOS=android GOARCH=amd64 GOAMD64=v3 CGO_ENABLED=1 CC=${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android21-clang go build -ldflags '$(LDFLAGS)'

.PHONY: easyss easyss-with-notray easyss-windows easyss-server easyss-server-windows

Expand Down

0 comments on commit 220b0b2

Please sign in to comment.