summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>2019-10-29 23:56:34 +0900
committerAkihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>2019-10-29 23:56:34 +0900
commita9976049f03a8402a770465e7b636ce22dcb1c99 (patch)
tree8ce8cc2efe2ccd0b6516295d7bcca287f09eeedd
parenta56131fef4a82824b397c94f6b7edcdb24769624 (diff)
downloadpodman-a9976049f03a8402a770465e7b636ce22dcb1c99.tar.gz
podman-a9976049f03a8402a770465e7b636ce22dcb1c99.tar.bz2
podman-a9976049f03a8402a770465e7b636ce22dcb1c99.zip
Makefile: fix embedding gitCommit
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 77502f911..731ad29c5 100644
--- a/Makefile
+++ b/Makefile
@@ -72,8 +72,8 @@ LIBPOD := ${PROJECT}/libpod
GCFLAGS ?= all=-trimpath=${PWD}
ASMFLAGS ?= all=-trimpath=${PWD}
LDFLAGS_PODMAN ?= $(LDFLAGS) \
- -X $(LIBPOD).gitCommit=$(GIT_COMMIT) \
- -X $(LIBPOD).buildInfo=$(BUILD_INFO) \
+ -X $(LIBPOD)/define.gitCommit=$(GIT_COMMIT) \
+ -X $(LIBPOD)/define.buildInfo=$(BUILD_INFO) \
-X $(LIBPOD).installPrefix=$(PREFIX) \
-X $(LIBPOD).etcDir=$(ETCDIR)
#Update to LIBSECCOMP_COMMIT should reflect in Dockerfile too.