We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
GOARM=6
1 parent 29ea131 commit fceed9fCopy full SHA for fceed9f
build-go-project.sh
@@ -128,7 +128,7 @@ gobuildmaybe() {
128
# - using v6 to be compatible with Raspberry Pi Zero W (& by extension, the original Pi)
129
130
# compile statically so this works on Alpine Linux that doesn't have glibc
131
- (cd "$dir_in_which_to_compile" && GOARM=6 && GOOS="$os" GOARCH="$architecture" CGO_ENABLED=0 go build \
+ (cd "$dir_in_which_to_compile" && GOARM=6 GOOS="$os" GOARCH="$architecture" CGO_ENABLED=0 go build \
132
-ldflags "-extldflags \"-static\" -X github.com/function61/gokit/app/dynversion.Version=$FRIENDLY_REV_ID" \
133
-o "$projectroot/rel/${BINARY_NAME}${binSuffix}")
134
}
0 commit comments