summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-03-23 08:00:55 -0600
committernytpu <alex@nytpu.com>2021-03-23 08:00:55 -0600
commit74b2012fa93784f1ca4cda5e014b63d1c50fd4d9 (patch)
treeeb8173bc3ae5cc5e3a5c2f03d19b23b11275b769 /Makefile
parent447517737ba763e9fe1c770371e2972ea9ba0d63 (diff)
fix makefile flags
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index dfea333..6a3711d 100644
--- a/Makefile
+++ b/Makefile
@@ -18,13 +18,13 @@ BINDIR ?= $(PREFIX)/bin
MANDIR ?= $(PREFIX)/share/man
# program paths and flags #
-GO ?= go
+#GO ?= go
# purely statically link (useful for cross compiling)
-#GO ?= CGO_ENABLED=0 go
+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)$(GITDIRTY)
+GOLDFLAGS ?= -s -w -X main.Version=$(VERSION) -X main.Commit=$(COMMIT)
SCDOC ?= scdoc
MKDIR ?= mkdir -p
RM ?= rm -f