diff --git a/build/build.sh b/build/build.sh index 9a97034a9..a83272c2c 100755 --- a/build/build.sh +++ b/build/build.sh @@ -34,7 +34,7 @@ export CGO_ENABLED=0 export GOARCH="${ARCH}" export GOOS="${OS}" -if [ "${BUILD_DEBUG:-}" -eq 1 ]; then +if [ "${BUILD_DEBUG:-0}" -eq 1 ]; then # Debugging - disable optimizations and inlining gogcflags="all=-N -l" goasmflags=""