From 4b7b27f3c6e4700941502bf7e5912f87ef1920e8 Mon Sep 17 00:00:00 2001 From: Sergio Padrino Date: Wed, 28 Apr 2021 17:28:13 +0200 Subject: [PATCH] Also use host OS when running go generate --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f8e592f0..6d4589b0 100644 --- a/Makefile +++ b/Makefile @@ -196,7 +196,7 @@ mangen : commands/mancontent_gen.go # 'commands' of Git LFS. It depends upon the contents of the 'docs' directory # and converts those manpages into code. commands/mancontent_gen.go : $(wildcard docs/man/*.ronn) - GOARCH= $(GO) generate github.com/git-lfs/git-lfs/commands + GOOS= GOARCH= $(GO) generate github.com/git-lfs/git-lfs/commands # Targets 'all' and 'build' build binaries of Git LFS for the above release # matrix.