patch-Makefile 582 B

12345678910111213
  1. $OpenBSD: patch-Makefile,v 1.1.1.1 2016/12/10 16:48:07 edd Exp $
  2. --- Makefile.orig Mon Nov 28 15:27:32 2016
  3. +++ Makefile Mon Nov 28 15:27:45 2016
  4. @@ -15,7 +15,7 @@ build-all: runtime build
  5. # Builds micro without checking for dependencies
  6. build-quick:
  7. - go build -ldflags "-s -w -X main.Version=$(VERSION) -X main.CommitHash=$(HASH) -X 'main.CompileDate=$(DATE)'" ./cmd/micro
  8. + ${MODGO_CMD} build -ldflags "-s -w -X main.Version=$(VERSION) -X main.CommitHash=$(HASH) -X 'main.CompileDate=$(DATE)'" ./cmd/micro
  9. # Same as 'build' but installs to $GOBIN afterward
  10. install: deps