Skip to content

Commit

Permalink
change CC
Browse files Browse the repository at this point in the history
  • Loading branch information
tzmfreedom committed Jan 26, 2019
1 parent da88417 commit 56e6ea6
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 @@ -64,7 +64,7 @@ cross-build: deps
@gofmt -w $(SRCS)
@for os in darwin linux windows; do \
for arch in amd64; do \
GOOS=$$os GOARCH=$$arch CGO_ENABLED=1 go build -a -tags netgo \
CC=clang GOOS=$$os GOARCH=$$arch CGO_ENABLED=1 go build -a -tags netgo \
-installsuffix netgo $(LDFLAGS) -o dist/$$os-$$arch/$(NAME); \
done; \
done
Expand Down

0 comments on commit 56e6ea6

Please sign in to comment.