1
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

View File

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