From e54246e086fc5d57d9cdaee5c14fb0895e79ecf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Teichgr=C3=A4ber?= Date: Wed, 1 Dec 2010 19:59:53 +0100 Subject: [PATCH] Makefile: build leg using GOHOSTOS and GOHOSTARCH --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f9fc05a..e48f07e 100644 --- a/Makefile +++ b/Makefile @@ -50,8 +50,8 @@ LEG = ./peg/leg/leg $(LEG): if(! test -d peg); then make peg; fi - make -C peg all - make -C peg/leg all + make -C peg all GOOS=$(GOHOSTOS) GOARCH=$(GOHOSTARCH) + make -C peg/leg all GOOS=$(GOHOSTOS) GOARCH=$(GOHOSTARCH) peg: $(VCS) clone $(GITHUB)/knieriem/peg