File pie.patch of Package gitlab-metrics-exporter
diff --git a/Makefile b/Makefile index fb1343e..20f2d57 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ PKG := gitlab.com/gitlab-org/$(NAME) all: clean $(BIN) $(BIN): - $(GOBUILD) -o $(BIN) $(PKG)/cmd/srv + $(GOBUILD) -o $(BIN) -buildmode=pie -mod=vendor $(PKG)/cmd/srv .PHONY: install install: $(BIN)