mirror of
https://github.com/yggdrasil-network/yggstack.git
synced 2025-04-27 21:55:07 +03:00
Try to use netgo,osusergo,static for static builds
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
This commit is contained in:
parent
9da884697a
commit
1eb9a94d2c
1 changed files with 1 additions and 0 deletions
1
build
1
build
|
@ -21,6 +21,7 @@ do
|
|||
r) ARGS="$ARGS -race";;
|
||||
o) ARGS="$ARGS -o $OPTARG";;
|
||||
p) ARGS="$ARGS -buildmode=pie";;
|
||||
s) ARGS="$ARGS -tags netgo,osusersgo,static" LDFLAGS="$LDFLAGS -extldflags '-static'";;
|
||||
esac
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue