Skip to content

Commit

Permalink
build: CGO_ENABLED=0 in build in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bojand committed Jun 2, 2020
1 parent cc19f0b commit ca1fb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -95,7 +95,7 @@ fmt:

.PHONY: build
build:
go build --ldflags="-s -w" -o $(DIST_DIR)/ghz ./cmd/ghz/...
CGO_ENABLED=0 go build --ldflags="-s -w" -o $(DIST_DIR)/ghz ./cmd/ghz/...
go build --ldflags="-s -w" -o $(DIST_DIR)/ghz-web ./cmd/ghz-web/...

# Cover runs go_test on GO_PKGS and produces code coverage in multiple formats.
Expand Down

0 comments on commit ca1fb7f

Please sign in to comment.