Skip to content

Commit

Permalink
Adding ARM64 to existing build-arch (#43)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Holetzko <mholetzko@gmx.net>

Signed-off-by: Matthias Holetzko <mholetzko@gmx.net>
  • Loading branch information
mholetzko authored Sep 8, 2022
1 parent 5c9f92b commit 4356994
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/make.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const (
GOOS = "GOOS"
X86 = "386"
X86_64 = "amd64"
ARM64 = "arm64"
DARWIN = "darwin"
LINUX = "linux"
WINDOWS = "windows"
Expand Down Expand Up @@ -295,10 +296,11 @@ var binDir = flag.String("bin-dir", "", "Specifies OS_PLATFORM specific binaries

var (
platformEnvs = []map[string]string{
map[string]string{GOARCH: X86, GOOS: DARWIN, CGO_ENABLED: "0"},
map[string]string{GOARCH: ARM64, GOOS: DARWIN, CGO_ENABLED: "0"},
map[string]string{GOARCH: X86_64, GOOS: DARWIN, CGO_ENABLED: "0"},
map[string]string{GOARCH: X86, GOOS: LINUX, CGO_ENABLED: "0"},
map[string]string{GOARCH: X86_64, GOOS: LINUX, CGO_ENABLED: "0"},
map[string]string{GOARCH: ARM64, GOOS: LINUX, CGO_ENABLED: "0"},
map[string]string{GOARCH: X86, GOOS: WINDOWS, CGO_ENABLED: "0"},
map[string]string{GOARCH: X86_64, GOOS: WINDOWS, CGO_ENABLED: "0"},
}
Expand Down

0 comments on commit 4356994

Please # to comment.