makefile: build without imagecrush support

This commit is contained in:
mappu 2018-06-04 18:28:58 +12:00
parent 3cf4986418
commit 7255cd03cb
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ SOURCES:=Makefile \
cmd $(wildcard cmd/contented/*.go) \
$(wildcard *.go)
GOFLAGS := -ldflags='-s -w -X code.ivysaur.me/contented.SERVER_HEADER=contented/${VERSION}' -gcflags='-trimpath=$(GOPATH)' -asmflags='-trimpath=$(GOPATH)'
GOFLAGS := -tags 'disableimagecrush' -ldflags='-s -w -X code.ivysaur.me/contented.SERVER_HEADER=contented/${VERSION}' -gcflags='-trimpath=$(GOPATH)' -asmflags='-trimpath=$(GOPATH)'
#
# Phony targets