about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6609640..4e76dcb 100644
--- a/Makefile
+++ b/Makefile
@@ -10,13 +10,14 @@ _INSTDIR=$(DESTDIR)$(PREFIX)
 BINDIR?=$(_INSTDIR)/bin
 SHAREDIR?=$(_INSTDIR)/share/aerc
 MANDIR?=$(_INSTDIR)/share/man
+GO?=go
 GOFLAGS?=
 
 GOSRC!=find . -name '*.go'
 GOSRC+=go.mod go.sum
 
 aerc: $(GOSRC)
-	go build $(GOFLAGS) \
+	$(GO) build $(GOFLAGS) \
 		-ldflags "-X main.Prefix=$(PREFIX) \
 		-X main.ShareDir=$(SHAREDIR) \
 		-X main.Version=$(VERSION)" \
'#n9'>9 10 11 12 13 14 15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42