summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-04-19 10:16:20 -0600
committernytpu <alex@nytpu.com>2021-04-19 10:16:20 -0600
commitfd2667cb9f6fe15c1770b82372007524aadb1cf0 (patch)
tree52c842f9d4b08306e8b91714810044b9040d5cc9 /Makefile
parentffe7a37c66d5cfe3f834951545c562ae3b8dcdaa (diff)
move Version and Commit to core
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index aab57cd..6ff5b6c 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ GO ?= CGO_ENABLED=0 go
GOFLAGS ?=
#GOLDFLAGS ?= -X main.Version=$(VERSION) -X main.Commit=$(COMMIT)
# also strips executable, significantly reduces size
-GOLDFLAGS ?= -s -w -X main.Version=$(VERSION) -X main.Commit=$(COMMIT)
+GOLDFLAGS ?= -s -w -X golang.nytpu.com/comitium/core.Version=$(VERSION) -X golang.nytpu.com/comitium/core.Commit=$(COMMIT)
SCDOC ?= scdoc
MKDIR ?= mkdir -p
RM ?= rm -f