Skip to content

Commit b2d36fa

Browse files
authored
Merge pull request #442 from wking/disable-cgo-for-runtimetest
Makefile: Set CGO_ENABLED=0 for runtimetest
2 parents c990087 + 95617cb commit b2d36fa

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
@@ -12,7 +12,7 @@ tool:
1212

1313
.PHONY: runtimetest
1414
runtimetest:
15-
go build -tags "$(BUILDTAGS)" -o runtimetest ./cmd/runtimetest
15+
CGO_ENABLED=0 go build -installsuffix cgo -tags "$(BUILDTAGS)" -o runtimetest ./cmd/runtimetest
1616

1717
.PHONY: man
1818
man:

0 commit comments

Comments
 (0)