1
0

Added -buildmode=pie for security.

This commit is contained in:
Alexander Andreev 2023-09-10 18:16:07 +04:00
parent 8385e36340
commit 39e872256b
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -8,7 +8,7 @@ PREFIX:=/usr/local
VERSION=23.34.0
FLAGS:=-modcacherw -mod=readonly -trimpath
FLAGS:=-buildmode=pie -modcacherw -mod=readonly -trimpath
LDFLAGS:= -ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo
all: web/*.pug.go ${TARGET}