diff --git a/build b/build index 4a63f46..fc9e183 100755 --- a/build +++ b/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