1
0
Fork 0

Added additional build flags in FLAGS var.

This commit is contained in:
Alexander Andreev 2023-09-23 04:01:48 +04:00
parent 24c5f59200
commit 7c17d7400b
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 1 additions and 0 deletions

View File

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