File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 25
25
# Ensure GOBIN is not set during build so that promu is installed to the correct path
26
26
unexport GOBIN
27
27
28
- # Export flags required for FIPS compliance
29
- export CGO_ENABLED=1
30
- export GOEXPERIMENT=boringcrypto
31
-
32
28
GO ?= go
33
29
GOFMT ?= $(GO)fmt
34
30
FIRST_GOPATH := $(firstword $(subst :, ,$(shell $(GO) env GOPATH)))
@@ -154,7 +150,7 @@ common-test-short: $(GOTEST_DIR)
154
150
.PHONY: common-test
155
151
common-test: $(GOTEST_DIR)
156
152
@echo ">> running all tests"
157
- $(GOTEST) $(test-flags) $(GOOPTS) $(pkgs)
153
+ CGO_ENABLED=1 GOEXPERIMENT=boringcrypto $(GOTEST) $(test-flags) $(GOOPTS) $(pkgs)
158
154
159
155
$(GOTEST_DIR):
160
156
@mkdir -p $@
@@ -201,7 +197,7 @@ common-unused:
201
197
.PHONY: common-build
202
198
common-build: promu
203
199
@echo ">> building binaries"
204
- $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)
200
+ CGO_ENABLED=1 GOEXPERIMENT=boringcrypto $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)
205
201
206
202
.PHONY: common-tarball
207
203
common-tarball: promu
You can’t perform that action at this time.
0 commit comments