Add GOFLAGS environment variable to makefile

This commit is contained in:
Elara 2021-08-21 16:03:54 -07:00
parent 19caa3ee83
commit 9ae652863b

View File

@ -4,8 +4,8 @@ SERVICE_PREFIX = $(DESTDIR)$(PREFIX)/lib/systemd/user
CFG_PREFIX = $(DESTDIR)/etc CFG_PREFIX = $(DESTDIR)/etc
all: all:
go build go build $(GOFLAGS)
go build ./cmd/itctl go build ./cmd/itctl $(GOFLAGS)
install: install:
install -Dm755 ./itd $(BIN_PREFIX)/itd install -Dm755 ./itd $(BIN_PREFIX)/itd