From 8579de9d3fcfc9a8f5fc5d7475c94843c26f5a8b Mon Sep 17 00:00:00 2001 From: lonwern Date: Sun, 20 May 2018 23:05:29 +0800 Subject: [PATCH] build linux_arm64 package --- Makefile.cross-compiles | 2 ++ package.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.cross-compiles b/Makefile.cross-compiles index ef243ef..a7dffad 100644 --- a/Makefile.cross-compiles +++ b/Makefile.cross-compiles @@ -18,6 +18,8 @@ app: env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "$(LDFLAGS)" -o ./frps_linux_amd64 ./cmd/frps env CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -ldflags "$(LDFLAGS)" -o ./frpc_linux_arm ./cmd/frpc env CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -ldflags "$(LDFLAGS)" -o ./frps_linux_arm ./cmd/frps + env CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "$(LDFLAGS)" -o ./frpc_linux_arm64 ./cmd/frpc + env CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "$(LDFLAGS)" -o ./frps_linux_arm64 ./cmd/frps env CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -ldflags "$(LDFLAGS)" -o ./frpc_windows_386.exe ./cmd/frpc env CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -ldflags "$(LDFLAGS)" -o ./frps_windows_386.exe ./cmd/frps env CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "$(LDFLAGS)" -o ./frpc_windows_amd64.exe ./cmd/frpc diff --git a/package.sh b/package.sh index 65d1446..e82859c 100755 --- a/package.sh +++ b/package.sh @@ -15,7 +15,7 @@ rm -rf ./packages mkdir ./packages os_all='linux windows darwin freebsd' -arch_all='386 amd64 arm mips64 mips64le mips mipsle' +arch_all='386 amd64 arm arm64 mips64 mips64le mips mipsle' for os in $os_all; do for arch in $arch_all; do