From b2c6378aaef0eb7569d81ac3518270ec9d36f885 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Fri, 11 Sep 2015 21:11:22 +0200 Subject: [PATCH] Fix go1.5 compile flag warnings --- Makefile.INCLUDE | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.INCLUDE b/Makefile.INCLUDE index 13e934329..e624ec629 100644 --- a/Makefile.INCLUDE +++ b/Makefile.INCLUDE @@ -62,12 +62,12 @@ BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2> /dev/null || echo 'unk HOSTNAME := $(shell hostname -f) BUILD_DATE := $(shell date +%Y%m%d-%H:%M:%S) BUILDFLAGS := -ldflags \ - " -X $(REPO_PATH)/version.Version $(VERSION)\ - -X $(REPO_PATH)/version.Revision $(REV)\ - -X $(REPO_PATH)/version.Branch $(BRANCH)\ - -X $(REPO_PATH)/version.BuildUser $(USER)@$(HOSTNAME)\ - -X $(REPO_PATH)/version.BuildDate $(BUILD_DATE)\ - -X $(REPO_PATH)/version.GoVersion $(GO_VERSION)" + " -X $(REPO_PATH)/version.Version=$(VERSION)\ + -X $(REPO_PATH)/version.Revision=$(REV)\ + -X $(REPO_PATH)/version.Branch=$(BRANCH)\ + -X $(REPO_PATH)/version.BuildUser=$(USER)@$(HOSTNAME)\ + -X $(REPO_PATH)/version.BuildDate=$(BUILD_DATE)\ + -X $(REPO_PATH)/version.GoVersion=$(GO_VERSION)" CURL := curl ARCHIVEDIR := prometheus-$(VERSION).$(GOOS)-$(GOARCH)