We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CGO_ENABLED
1 parent 2efd395 commit e654d8bCopy full SHA for e654d8b
1 file changed
GNUmakefile
@@ -3,6 +3,7 @@ WEBSITE_REPO=github.com/hashicorp/terraform-website
3
PKG_NAME=github
4
5
COVERAGEARGS?=-race -coverprofile=coverage.txt -covermode=atomic
6
+export CGO_ENABLED=0
7
8
# VARIABLE REFERENCE:
9
#
@@ -31,7 +32,7 @@ tools:
31
32
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.6.0
33
34
build: lintcheck
- CGO_ENABLED=0 go build -ldflags="-s -w" ./...
35
+ go build -ldflags="-s -w" ./...
36
37
fmt:
38
@echo "==> Fixing source code formatting..."
@@ -67,7 +68,7 @@ test-compile:
67
68
echo " make test-compile TEST=./$(PKG_NAME)"; \
69
exit 1; \
70
fi
- CGO_ENABLED=0 go test -c $(TEST) $(TESTARGS)
71
+ go test -c $(TEST) $(TESTARGS)
72
73
website:
74
ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
0 commit comments