Skip to content

Commit 2864461

Browse files
authored
net: remove CGO_ENABLED=0 to fix VPN connections (#359)
* net: set CGO_ENABLED=1 to fix VPN connections * net: CGO_ENABLED=1 breaks cross-compilation
1 parent 84fae1c commit 2864461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fmt:
3838

3939
.PHONY: build
4040
build:
41-
GOOS=$(GOOS) GOARCH=$(GOARCH) CGO_ENABLED=0 go build -ldflags="$(LDFLAGS)" -o $(OUTPUT_DIR)/$(OUTPUT_BIN) ./cmd/colima
41+
GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags="$(LDFLAGS)" -o $(OUTPUT_DIR)/$(OUTPUT_BIN) ./cmd/colima
4242
cd $(OUTPUT_DIR) && openssl sha256 -r -out $(OUTPUT_BIN).sha256sum $(OUTPUT_BIN)
4343

4444
.PHONY: test

0 commit comments

Comments
 (0)