Skip to content

Commit 6d674a7

Browse files
authored
Merge pull request kubernetes-csi#47 from Pensu/multi-arch
Adding build for ppc64le
2 parents 8adde49 + 83a4ef1 commit 6d674a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.make

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ build-%: check-go-version-go
7070
CGO_ENABLED=0 GOOS=linux go build $(GOFLAGS_VENDOR) -a -ldflags '-X main.version=$(REV) -extldflags "-static"' -o ./bin/$* ./cmd/$*
7171
if [ "$$ARCH" = "amd64" ]; then \
7272
CGO_ENABLED=0 GOOS=windows go build $(GOFLAGS_VENDOR) -a -ldflags '-X main.version=$(REV) -extldflags "-static"' -o ./bin/$*.exe ./cmd/$* ; \
73+
CGO_ENABLED=0 GOOS=linux GOARCH=ppc64le go build $(GOFLAGS_VENDOR) -a -ldflags '-X main.version=$(REV) -extldflags "-static"' -o ./bin/$*-ppc64le ./cmd/$*
7374
fi
7475

7576
container-%: build-%

0 commit comments

Comments
 (0)