Skip to content

Commit c33a516

Browse files
TUN-4812: Disable CGO for cloudflared builds
1 parent ed1389e commit c33a516

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build-packages.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
export CGO_ENABLED=0
12
# This controls the directory the built artifacts go into
23
export ARTIFACT_DIR=built_artifacts/
34
mkdir -p $ARTIFACT_DIR
@@ -10,6 +11,7 @@ done
1011

1112
mv *.msi $ARTIFACT_DIR
1213

14+
export FIPS=true
1315
linuxArchs=("amd64" "386" "arm")
1416
export TARGET_OS=linux
1517
for arch in ${linuxArchs[@]}; do

0 commit comments

Comments
 (0)