1
0

Removing -buildmode=pie flag, it causes permission denied 203/EXEC failure when starting a service.

This commit is contained in:
Alexander Andreev 2023-08-05 06:27:48 +04:00
parent d251d174e3
commit aaa6aca743
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

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