Skip to content

Commit

Permalink
build with statically linking
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg committed Apr 21, 2024
1 parent dfdd22e commit ebaf492
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
@@ -1,7 +1,7 @@

.PHONY: build
build: generate
go build
CGO_ENABLED=0 go build -ldflags '-extldflags "-static"'

.PHONY: generate
generate:
Expand Down

0 comments on commit ebaf492

Please sign in to comment.