1
0
mirror of https://github.com/danog/gojekyll.git synced 2025-01-22 14:31:16 +01:00

Makefile: remove -o from uname (not supported on macOS)

This commit is contained in:
Oliver Steele 2021-06-16 15:35:25 +08:00
parent 367156b0b3
commit 807711c073

View File

@ -7,7 +7,7 @@ SOURCES := $(shell find $(SOURCEDIR) -name '*.go')
COMMIT_HASH = `git rev-parse --short HEAD 2>/dev/null`
BUILD_DATE = `date +%FT%T%z`
VERSION := $(COMMIT_HASH)
OS := $(shell uname -o)
OS := $(shell uname)
LDFLAGS=-ldflags "-X ${PACKAGE}/version.Version=${VERSION} -X ${PACKAGE}/version.BuildDate=${BUILD_DATE}"