Skip to content

Commit 6c27709

Browse files
committed
build: avoid the runtime error like "/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found"
1 parent 71b3572 commit 6c27709

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
@@ -8,7 +8,7 @@ OUT_DOCKER ?= tcpulse
88
all: build
99

1010
build: vet staticcheck
11-
$(GO) build -o $(OUT_BIN)
11+
CGO_ENABLED=0 $(GO) build -o $(OUT_BIN)
1212

1313
vet:
1414
$(GO) vet ./...

0 commit comments

Comments
 (0)