Skip to content

Commit a58c133

Browse files
authored
Merge pull request #88 from blinklabs-io/fix/ci-static-no-cgo
fix(ci): static compile by disabling cgo
2 parents c402963 + c0902cd commit a58c133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test: mod-tidy
3131
# Build our program binaries
3232
# Depends on GO_FILES to determine when rebuild is needed
3333
$(BINARIES): mod-tidy $(GO_FILES)
34-
go build \
34+
CGO_ENABLED=0 go build \
3535
$(GO_LDFLAGS) \
3636
-tags nodbus \
3737
-o $(@) \

0 commit comments

Comments
 (0)