Skip to content

Commit

Permalink
Adding build for ppc64le
Browse files Browse the repository at this point in the history
  • Loading branch information
Pensu committed Nov 19, 2019
1 parent 4fcafec commit 83a4ef1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.make
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ build-%: check-go-version-go
CGO_ENABLED=0 GOOS=linux go build $(GOFLAGS_VENDOR) -a -ldflags '-X main.version=$(REV) -extldflags "-static"' -o ./bin/$* ./cmd/$*
if [ "$$ARCH" = "amd64" ]; then \
CGO_ENABLED=0 GOOS=windows go build $(GOFLAGS_VENDOR) -a -ldflags '-X main.version=$(REV) -extldflags "-static"' -o ./bin/$*.exe ./cmd/$* ; \
CGO_ENABLED=0 GOOS=linux GOARCH=ppc64le go build $(GOFLAGS_VENDOR) -a -ldflags '-X main.version=$(REV) -extldflags "-static"' -o ./bin/$*-ppc64le ./cmd/$*
fi

container-%: build-%
Expand Down

0 comments on commit 83a4ef1

Please sign in to comment.