Skip to content

Commit 07fab5e

Browse files
authored
Merge pull request #783 from ajnavarro/fix/add-go-build-args
Add GO_BUILD_ARGS to static-build command
2 parents 78ad74f + b1ddc90 commit 07fab5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static-build: VERSION ?= $(shell git describe --exact-match --tags 2>/dev/null |
3535
static-build: LD_FLAGS += -linkmode external -extldflags '-static -lz' -s -w
3636
static-build: GO_BUILD_PATH ?= github.com/src-d/gitbase/...
3737
static-build:
38-
go build -ldflags="$(LD_FLAGS)" -v $(GO_BUILD_PATH)
38+
go build $(GO_BUILD_ARGS) -ldflags="$(LD_FLAGS)" -v $(GO_BUILD_PATH)
3939

4040
ci-e2e: packages
4141
go test ./e2e -gitbase-version="$(TRAVIS_TAG)" \

0 commit comments

Comments
 (0)