Skip to content

Commit

Permalink
Merge pull request #783 from ajnavarro/fix/add-go-build-args
Browse files Browse the repository at this point in the history
Add GO_BUILD_ARGS to static-build command
  • Loading branch information
ajnavarro authored Apr 8, 2019
2 parents 78ad74f + b1ddc90 commit 07fab5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static-build: VERSION ?= $(shell git describe --exact-match --tags 2>/dev/null |
static-build: LD_FLAGS += -linkmode external -extldflags '-static -lz' -s -w
static-build: GO_BUILD_PATH ?= github.com/src-d/gitbase/...
static-build:
go build -ldflags="$(LD_FLAGS)" -v $(GO_BUILD_PATH)
go build $(GO_BUILD_ARGS) -ldflags="$(LD_FLAGS)" -v $(GO_BUILD_PATH)

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

0 comments on commit 07fab5e

Please sign in to comment.