1
0
mirror of https://github.com/bgp/stayrtr.git synced 2024-05-06 15:54:54 +00:00

Invert the usual CGO_ENABLED behavior to default to off.

This commit is contained in:
Null User
2021-10-27 04:42:36 +00:00
parent 70aef8f20c
commit a9fde96027

View File

@ -24,6 +24,9 @@ OUTPUT_STAYRTR := $(DIST_DIR)stayrtr$(SUFFIX)
OUTPUT_RTRDUMP := $(DIST_DIR)rtrdump$(SUFFIX)
OUTPUT_RTRMON := $(DIST_DIR)rtrmon$(SUFFIX)
export CGO_ENABLED ?= 0
.PHONY: vet
vet:
go vet cmd/stayrtr/stayrtr.go