hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit c2869aead02f2d4de48969f00a9fc4993fd3926c
parent e791835e6d4902c111d9ba36bba5385ab81baef9
Author: Andrew Carter <ascarter@icloud.com>
Date:   Thu, 20 Aug 2015 13:48:42 -0700

Fix -ldflags for Go 1.5

Use correct form -X <name>=<value> for Go 1.5

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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