Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Carter <ascarter@icloud.com>2015-08-20 23:48:42 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2015-08-21 10:14:15 +0300
commitc2869aead02f2d4de48969f00a9fc4993fd3926c (patch)
tree5d84b8365fa8cf84fa914835a571a86b3df60e62 /Makefile
parente791835e6d4902c111d9ba36bba5385ab81baef9 (diff)
Fix -ldflags for Go 1.5
Use correct form -X <name>=<value> for Go 1.5
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 29f10abe5..823428fb9 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
COMMIT_HASH=`git rev-parse --short HEAD 2>/dev/null`
BUILD_DATE=`date +%FT%T%z`
-LDFLAGS=-ldflags "-X github.com/spf13/hugo/hugolib.CommitHash ${COMMIT_HASH} -X github.com/spf13/hugo/hugolib.BuildDate ${BUILD_DATE}"
+LDFLAGS=-ldflags "-X github.com/spf13/hugo/hugolib.CommitHash=${COMMIT_HASH} -X github.com/spf13/hugo/hugolib.BuildDate=${BUILD_DATE}"
all: gitinfo