From 6722cc81de2f1f02769f5f7922a67d6fe9092f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6ran=20Karl?= <3951388+JoeKar@users.noreply.github.com> Date: Wed, 11 Sep 2024 21:35:45 +0200 Subject: [PATCH] tools/cross-compile: Mark "Linux 64 fully static" to be same as "Linux 64" It is kept for the next release only to support... https://github.com/benweissmann/getmic.ro/blob/f90870e948afab8be9ec40884050044b59ed5b7c/index.sh#L197-L204 ...and allow a fluent switch via: https://github.com/benweissmann/getmic.ro/pull/40 --- tools/cross-compile.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/cross-compile.sh b/tools/cross-compile.sh index f98d7c24..a617773c 100755 --- a/tools/cross-compile.sh +++ b/tools/cross-compile.sh @@ -54,8 +54,12 @@ if ./tools/package-deb.sh $VERSION; then fi create_artefact_generic "linux64" -echo "Linux 64 fully static" -CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make build +echo "Linux 64 fully static (same as linux64)" +# It is kept for the next release only to support... +# https://github.com/benweissmann/getmic.ro/blob/f90870e948afab8be9ec40884050044b59ed5b7c/index.sh#L197-L204 +# ...and allow a fluent switch via: +# https://github.com/benweissmann/getmic.ro/pull/40 +GOOS=linux GOARCH=amd64 make build create_artefact_generic "linux64-static" echo "Linux 32"