Makefile: fix $GOFLAGS

This commit is contained in:
Richard Patel 2020-01-15 14:56:53 +01:00
parent be6badc6a5
commit a8d38ad82f
No known key found for this signature in database
GPG Key ID: 77A6A8A1CF8D1762

View File

@ -14,7 +14,7 @@ MODULES:=
CLEAN:=
BINS:=
GOFLAGS+=-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))"
GOFLAGS+=-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))'
## FFI