From 75076ba4223a9098c463c540ea0b9fc94f0fd615 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Thu, 30 Apr 2020 23:24:51 +0200 Subject: [PATCH] Update Signed-off-by: Jakub Sztandera --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 469a7b469..1af851082 100644 --- a/Makefile +++ b/Makefile @@ -17,9 +17,9 @@ MODULES:= CLEAN:= BINS:= -ldflags=-X="github.com/filecoin-project/lotus/build".CurrentCommit="+git$(subst -,.,$(shell git describe --always --match=NeVeRmAtCh --dirty 2>/dev/null || git rev-parse --short HEAD 2>/dev/null))" +ldflags=-X=github.com/filecoin-project/lotus/build.CurrentCommit='+git$(subst -,.,$(shell git describe --always --match=NeVeRmAtCh --dirty 2>/dev/null || git rev-parse --short HEAD 2>/dev/null))' ifneq ($(strip $(LDFLAGS)),) - ldflags+=-extldflags="$(LDFLAGS)" + ldflags+=-extldflags=$(LDFLAGS) endif GOFLAGS+=-ldflags="$(ldflags)"