diff --git a/Makefile b/Makefile index c563e23..c5ed67c 100755 --- a/Makefile +++ b/Makefile @@ -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}