diff options
author | Thomas Boerger <thomas@webhippie.de> | 2017-01-20 18:34:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-20 18:34:20 +0100 |
commit | 369972b1164be38abd6769b79ecc5ad9c73d1b17 (patch) | |
tree | 8ad2713e14554cce4e878710588896e5a34006fa | |
parent | 7e401b9e3993d9b3e4e64ba63d36fbcbdf688430 (diff) | |
download | gitea-369972b1164be38abd6769b79ecc5ad9c73d1b17.tar.gz gitea-369972b1164be38abd6769b79ecc5ad9c73d1b17.zip |
Set the ldflags to static value within makefile (#709)
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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/) |