Don't get LDFLAGS from the environment

Refs #7
This commit is contained in:
Ryan Cavicchioni 2021-04-08 05:34:25 +00:00
parent a9936a0f1b
commit 965b1b4339
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -15,7 +15,7 @@ endif
LUME_VERSION ?= $(shell git describe --tags --always) LUME_VERSION ?= $(shell git describe --tags --always)
GIT_COMMIT := $(shell git rev-parse --short HEAD) GIT_COMMIT := $(shell git rev-parse --short HEAD)
LDFLAGS := $(LDFLAGS) \ LDFLAGS = \
-X git.kill0.net/chill9/lume/cmd.Version=$(LUME_VERSION) \ -X git.kill0.net/chill9/lume/cmd.Version=$(LUME_VERSION) \
-X git.kill0.net/chill9/lume/cmd.BuildDate=$(BUILD_DATE) \ -X git.kill0.net/chill9/lume/cmd.BuildDate=$(BUILD_DATE) \
-X git.kill0.net/chill9/lume/cmd.GitCommit=$(GIT_COMMIT) -X git.kill0.net/chill9/lume/cmd.GitCommit=$(GIT_COMMIT)