1
0
Fork 0

Added osusergo,netgo tags to make executables completely static.

This commit is contained in:
Alexander Andreev 2022-06-13 21:06:24 +04:00
parent c90939eeac
commit f241eca24e
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ SYSDDIR_=${shell pkg-config systemd --variable=systemdsystemunitdir}
SYSDDIR=${SYSDDIR_:/%=%}
DESTDIR=/
LDFLAGS=-ldflags "-s -w"
LDFLAGS=-ldflags "-s -w" -tags osusergo,netgo
all: ${TARGET}