Skip to content

Commit

Permalink
fix: correct CGO_ENABLED for local build Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
xx4h committed Oct 12, 2024
1 parent 6854fec commit 480d8e1
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 @@ -49,7 +49,7 @@ all: build
build: $(BINDIR)/$(BINNAME)

$(BINDIR)/$(BINNAME): $(SRC)
CGO_ENAABLED=$(CGO_ENABLED) go build $(GOFLAGS) -trimpath -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o '$(BINDIR)'/$(BINNAME) ./main.go
CGO_ENABLED=$(CGO_ENABLED) go build $(GOFLAGS) -trimpath -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o '$(BINDIR)'/$(BINNAME) ./main.go

# ------------------------------------------------------------------------------
# install
Expand Down

0 comments on commit 480d8e1

Please sign in to comment.