[build] Minor update
This commit is contained in:
parent
aa4cc5a672
commit
a9b4624894
1 changed files with 1 additions and 2 deletions
|
@ -44,12 +44,11 @@
|
|||
test "${#}" -eq 0
|
||||
_outputs="$( exec -- readlink -e -- ./.outputs )"
|
||||
mkdir -p -- "${_outputs}/binaries/release"
|
||||
export -- CGO_ENABLED=0
|
||||
exec -- "${ZRUN[@]}" ':: go / tool' \
|
||||
build \
|
||||
-v \
|
||||
-tags netgo \
|
||||
-ldflags 'all=-s -extld gcc -extldflags "-static"' \
|
||||
-ldflags 'all=-s -extld=gcc -extldflags=-static' \
|
||||
-gcflags 'all=-l=4' \
|
||||
-o "${_outputs}/binaries/release/kawipiko-server" \
|
||||
-- ./cmd/server.go \
|
||||
|
|
Loading…
Reference in a new issue