Skip to content

Commit d2cbb13

Browse files
committed
[SECCOMP-31582] - export globally
1 parent f4f1b50 commit d2cbb13

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile.common

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ GO_VERSION ?= $(shell $(GO) version)
3636
GO_VERSION_NUMBER ?= $(word 3, $(GO_VERSION))
3737
PRE_GO_111 ?= $(shell echo $(GO_VERSION_NUMBER) | grep -E 'go1\.(10|[0-9])\.')
3838

39+
export CGO_ENABLED := 1
40+
export GOEXPERIMENT := boringcrypto
41+
3942
PROMU := $(FIRST_GOPATH)/bin/promu
4043
pkgs = ./...
4144

@@ -198,7 +201,7 @@ common-unused:
198201
common-build: promu
199202
@echo ">> building binaries"
200203
@env
201-
CGO_ENABLED=1 GOEXPERIMENT=boringcrypto $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)
204+
CGO_ENABLED=1 GOEXPERIMENT=boringcrypto $(§) build --prefix $(PREFIX) $(PROMU_BINARIES)
202205

203206
.PHONY: common-tarball
204207
common-tarball: promu

0 commit comments

Comments
 (0)