Skip to content

Commit

Permalink
need cgo.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall authored Mar 15, 2022
1 parent 6d6ff3a commit ed0294c
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 @@ -177,7 +177,7 @@ $(BINARY).amd64.macos: generate main.go
[ -z "$(UPXPATH)" ] || $(UPXPATH) -q9 $@
$(BINARY).arm64.macos: generate main.go
# Building darwin 64-bit arm binary.
GOOS=darwin GOARCH=arm64 go build -o $@ -ldflags "-w -s $(VERSION_LDFLAGS) $(EXTRA_LDFLAGS) "
GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 go build -o $@ -ldflags "-w -s $(VERSION_LDFLAGS) $(EXTRA_LDFLAGS) "
[ -z "$(UPXPATH)" ] || $(UPXPATH) -q9 $@

freebsd: $(BINARY).amd64.freebsd
Expand Down

0 comments on commit ed0294c

Please sign in to comment.