Add GOFLAGS environment variable to makefile

This commit is contained in:
Elara 2021-08-21 16:03:54 -07:00
parent a2ab8ad4f3
commit ff4a62bc0b

View File

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