Disable CGO by default

This commit is contained in:
Daniel
2021-05-18 14:20:40 +02:00
parent 2cfdae46b7
commit 275c426aea
3 changed files with 10 additions and 1 deletions

View File

@@ -43,7 +43,10 @@ if [[ "$BUILD_SOURCE" == "" ]]; then
exit 1
fi
# build tools
# set build options
export CGO_ENABLED=0
# special handling for Windows
EXTRA_LD_FLAGS=""
if [[ $GOOS == "windows" ]]; then
# checks