make: move escaped double quote to fix windows build

This commit is contained in:
Oliver Gugger 2020-04-14 10:37:56 +02:00
parent a53a6f160e
commit ec5bfd3df7
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -52,10 +52,10 @@ include make/testing_flags.mk
DEV_TAGS := $(if ${tags},$(DEV_TAGS) ${tags},$(DEV_TAGS))
make_ldflags = $(shell echo -ldflags \"-X $(PKG)/build.Commit=$(COMMIT) \
make_ldflags = -ldflags "$(shell echo -X $(PKG)/build.Commit=$(COMMIT) \
-X $(PKG)/build.CommitHash=$(COMMIT_HASH) \
-X $(PKG)/build.GoVersion=$(GOVERSION) \
-X $(PKG)/build.RawTags=$(shell echo $(1) | sed -e 's/ /,/g')\")
-X $(PKG)/build.RawTags=$(shell echo $(1) | sed -e 's/ /,/g'))"
LDFLAGS := $(call make_ldflags, ${tags})
DEV_LDFLAGS := $(call make_ldflags, $(DEV_TAGS))