File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ common-test-short: $(GOTEST_DIR)
153153.PHONY: common-test
154154common-test: $(GOTEST_DIR)
155155 @echo ">> running all tests"
156- $(GOTEST) $(test-flags) $(GOOPTS) $(pkgs)
156+ CGO_ENABLED=1 GOEXPERIMENT=boringcrypto $(GOTEST) $(test-flags) $(GOOPTS) $(pkgs)
157157
158158$(GOTEST_DIR):
159159 @mkdir -p $@
@@ -201,7 +201,7 @@ common-unused:
201201common-build: promu
202202 @echo ">> building binaries"
203203 @env
204- $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)
204+ CGO_ENABLED=1 GOEXPERIMENT=boringcrypto $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)
205205
206206.PHONY: common-tarball
207207common-tarball: promu
@@ -241,6 +241,7 @@ $(PROMU):
241241 $(eval PROMU_TMP := $(shell mktemp -d))
242242 curl -s -L $(PROMU_URL) | tar -xvzf - -C $(PROMU_TMP)
243243 sed -i '/^go:/a \ \ cgo: true' $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/.promu.yml
244+ cat $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/.promu.yml
244245 mkdir -p $(FIRST_GOPATH)/bin
245246 cp $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/promu $(FIRST_GOPATH)/bin/promu
246247 rm -r $(PROMU_TMP)
You can’t perform that action at this time.
0 commit comments