Added additional build flags in FLAGS var.
This commit is contained in:
parent
24c5f59200
commit
7c17d7400b
1
Makefile
1
Makefile
@ -6,6 +6,7 @@ DESTDIR:=
|
|||||||
|
|
||||||
VERSION=23.32.0
|
VERSION=23.32.0
|
||||||
|
|
||||||
|
FLAGS:=-buildmode=pie -modcacherw -mod=readonly -trimpath
|
||||||
LDFLAGS=-ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo
|
LDFLAGS=-ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo
|
||||||
|
|
||||||
all: web/*.pug.go ${TARGET}
|
all: web/*.pug.go ${TARGET}
|
||||||
|
Loading…
Reference in New Issue
Block a user