Skip to content

Commit 606b4d1

Browse files
committed
configure CGO_ENABLED for fips builds
1 parent a81fad2 commit 606b4d1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hack/build-node-joiner.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ then
4444
GOOS='' GOARCH='' go generate ./data
4545
fi
4646

47+
if (echo "${TAGS}" | grep -q '\bfipscapable\b')
48+
then
49+
export CGO_ENABLED=1
50+
fi
51+
4752
echo "building node-joiner"
4853

4954
# shellcheck disable=SC2086

0 commit comments

Comments
 (0)