Removing -buildmode=pie flag, it causes permission denied 203/EXEC failure when starting a service.
This commit is contained in:
parent
d251d174e3
commit
aaa6aca743
2
Makefile
2
Makefile
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user