From 87f93db6a4bce5863fa06ab96497a09da73cd766 Mon Sep 17 00:00:00 2001 From: Ilya Sosnovsky Date: Thu, 21 Oct 2021 12:36:04 +0300 Subject: [PATCH] fixes --- build_arm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_arm.sh b/build_arm.sh index 7e89f38..5ca252c 100755 --- a/build_arm.sh +++ b/build_arm.sh @@ -2,9 +2,9 @@ if [[ "$GOOS" == "linux" ]]; then if [[ "$GOARCH" == "arm" ]]; then - CC=arm-linux-gnueabi-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm go build -ldflags "-linkmode external -extldflags -static -s -w" @ + CC=arm-linux-gnueabi-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm go build -ldflags "-linkmode external -extldflags -static -s -w" $@ fi if [[ "$GOARCH" == "arm64" ]]; then - CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -ldflags "-linkmode external -extldflags -static -s -w" @ + CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -ldflags "-linkmode external -extldflags -static -s -w" $@ fi fi