Skip to content

Commit

Permalink
build for darwin/amd64, remove darwin/x86
Browse files Browse the repository at this point in the history
Signed-off-by: sriv <[email protected]>
  • Loading branch information
sriv committed Jul 8, 2021
1 parent 9cd5106 commit ed88b15
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions build/make.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const (
GOOS = "GOOS"
X86 = "386"
X86_64 = "amd64"
ARM64 = "arm64"
DARWIN = "darwin"
LINUX = "linux"
WINDOWS = "windows"
Expand All @@ -43,12 +44,12 @@ 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: 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: X86, GOOS: WINDOWS, CGO_ENABLED: "0"},
map[string]string{GOARCH: X86_64, GOOS: WINDOWS, CGO_ENABLED: "0"},
{GOARCH: ARM64, GOOS: DARWIN, CGO_ENABLED: "0"},
{GOARCH: X86_64, GOOS: DARWIN, CGO_ENABLED: "0"},
{GOARCH: X86, GOOS: LINUX, CGO_ENABLED: "0"},
{GOARCH: X86_64, GOOS: LINUX, CGO_ENABLED: "0"},
{GOARCH: X86, GOOS: WINDOWS, CGO_ENABLED: "0"},
{GOARCH: X86_64, GOOS: WINDOWS, CGO_ENABLED: "0"},
}
)

Expand Down

0 comments on commit ed88b15

Please sign in to comment.