specified CGO_ENABLED=0 in Makefile
This commit is contained in:
parent
96442bb93a
commit
4d927b9a7f
2
Makefile
2
Makefile
@ -14,7 +14,7 @@ SRCS=\
|
||||
all: hodu
|
||||
|
||||
hodu: $(SRCS)
|
||||
go build -x -o $@ cmd/main.go
|
||||
CGO_ENABLED=0 go build -x -o $@ cmd/main.go
|
||||
|
||||
clean:
|
||||
go clean -x -i
|
||||
|
Loading…
x
Reference in New Issue
Block a user