We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CGO_ENABLED=1
1 parent 8f34860 commit dd79669Copy full SHA for dd79669
scripts/constants.sh
@@ -27,9 +27,7 @@ fi
27
# We use "export" here instead of just setting a bash variable because we need
28
# to pass this flag to all child processes spawned by the shell.
29
export CGO_CFLAGS="-O2 -D__BLST_PORTABLE__"
30
-# While CGO_ENABLED doesn't need to be explicitly set, it produces a much more
31
-# clear error due to the default value change in go1.20.
32
-export CGO_ENABLED=1
+export CGO_ENABLED=1 # Required for cross-compilation
33
34
# Disable version control fallbacks
35
export GOPROXY="https://proxy.golang.org"
0 commit comments