From c33a516663eebd3b777b99d3c3316d50c4d4a434 Mon Sep 17 00:00:00 2001 From: Sudarsan Reddy Date: Wed, 28 Jul 2021 10:08:20 +0100 Subject: [PATCH] TUN-4812: Disable CGO for cloudflared builds --- build-packages.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-packages.sh b/build-packages.sh index e416acad..14a87cfa 100755 --- a/build-packages.sh +++ b/build-packages.sh @@ -1,3 +1,4 @@ +export CGO_ENABLED=0 # This controls the directory the built artifacts go into export ARTIFACT_DIR=built_artifacts/ mkdir -p $ARTIFACT_DIR @@ -10,6 +11,7 @@ done mv *.msi $ARTIFACT_DIR +export FIPS=true linuxArchs=("amd64" "386" "arm") export TARGET_OS=linux for arch in ${linuxArchs[@]}; do