From 7c17d7400b7dad24ca33e2434cc526d90276b143 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 23 Sep 2023 04:01:48 +0400 Subject: [PATCH] Added additional build flags in FLAGS var. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index b4f86fe..e0f8c32 100755 --- a/Makefile +++ b/Makefile @@ -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}