Skip to content

Commit

Permalink
Makefile fix
Browse files Browse the repository at this point in the history
* Disabled CGO. It used to cause errors with glibc. Greenmask does not use CGO in any way
  • Loading branch information
wwoytenko committed Mar 18, 2024
1 parent 4cf2864 commit 3c610d4
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 @@ -21,4 +21,4 @@ install:
mv $(MAIN_PATH)/$(CMD_NAME) $(GOBIN)/$(CMD_NAME)

build: $(CMD_FILES)
go build -ldflags="$(LDFLAGS)" -v -o $(CMD_NAME) $(MAIN_PATH)
CGO_ENABLED=0 go build -ldflags="$(LDFLAGS)" -v -o $(CMD_NAME) $(MAIN_PATH)

0 comments on commit 3c610d4

Please sign in to comment.