From 369972b1164be38abd6769b79ecc5ad9c73d1b17 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Fri, 20 Jan 2017 18:34:20 +0100 Subject: [PATCH] Set the ldflags to static value within makefile (#709) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 50ca7c7215e..33b187764e7 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ BINDATA := modules/{options,public,templates}/bindata.go STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less) JAVASCRIPTS := -LDFLAGS ?= -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')" +LDFLAGS := -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')" TARGETS ?= linux/*,darwin/*,windows/* PACKAGES ?= $(shell go list ./... | grep -v /vendor/)