mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 19:09:43 +00:00
build: Disable CGO for analyze-go and status-go binaries.
This commit is contained in:
BIN
bin/analyze-go
BIN
bin/analyze-go
Binary file not shown.
BIN
bin/status-go
BIN
bin/status-go
Binary file not shown.
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
# Check if Go is installed
|
# Check if Go is installed
|
||||||
|
|||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
if ! command -v go > /dev/null 2>&1; then
|
if ! command -v go > /dev/null 2>&1; then
|
||||||
|
|||||||
Reference in New Issue
Block a user