Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
build statically only for ceph
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode committed Nov 13, 2023
1 parent 6652e0d commit cd1183a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ BUILD_FLAGS = -X github.com/cs3org/reva/cmd/revad.gitCommit=$(GIT_COMMIT) -X git

.PHONY: revad
revad:
go build -ldflags "-extldflags=-static $(BUILD_FLAGS)" -o ./cmd/revad/revad ./cmd/revad/main
go build -ldflags "$(BUILD_FLAGS)" -o ./cmd/revad/revad ./cmd/revad/main

.PHONY: gaia
gaia:
Expand All @@ -50,11 +50,11 @@ cernbox-revad: gaia
gaia build --with github.com/cernbox/reva-plugins --with github.com/cs3org/reva=$(shell pwd) -o ./cmd/revad/revad
.PHONY: revad-ceph
revad-ceph:
go build -ldflags "$(BUILD_FLAGS)" -tags ceph -o ./cmd/revad/revad ./cmd/revad/main
go build -ldflags "-extldflags=-static $(BUILD_FLAGS)" -tags ceph -o ./cmd/revad/revad ./cmd/revad/main

.PHONY: reva
reva:
go build -ldflags "-extldflags=-static $(BUILD_FLAGS)" -o ./cmd/reva/reva ./cmd/reva
go build -ldflags "$(BUILD_FLAGS)" -o ./cmd/reva/reva ./cmd/reva

.PHONY: docker-reva
docker-reva:
Expand Down

0 comments on commit cd1183a

Please sign in to comment.