TUN-8118: Disable FIPS module to build with go-boring without CGO_ENABLED

This commit is contained in:
chungthuang
2024-01-08 10:34:40 +00:00
committed by Chung-Ting
parent 159fcb44ce
commit e23d928829
8 changed files with 23 additions and 13 deletions

View File

@@ -1,8 +1,8 @@
VERSION=$(git describe --tags --always --match "[0-9][0-9][0-9][0-9].*.*")
echo $VERSION
# Avoid depending on C code since we don't need it.
export CGO_ENABLED=0
# Disable FIPS module in go-boring
export GOEXPERIMENT=noboringcrypto
# This controls the directory the built artifacts go into
export ARTIFACT_DIR=built_artifacts/