From 298fbd8d88ba96416183a2e832e9f88f2dea3d17 Mon Sep 17 00:00:00 2001 From: Aloxaf Date: Fri, 5 Aug 2022 10:47:06 +0800 Subject: [PATCH] fix: build: use GOCC when building lotus-fountain --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c3788d5a9..16f78342e 100644 --- a/Makefile +++ b/Makefile @@ -174,8 +174,8 @@ lotus-pond-app: lotus-pond-front lotus-pond lotus-fountain: rm -f lotus-fountain - go build $(GOFLAGS) -o lotus-fountain ./cmd/lotus-fountain - go run github.com/GeertJohan/go.rice/rice append --exec lotus-fountain -i ./cmd/lotus-fountain -i ./build + $(GOCC) build $(GOFLAGS) -o lotus-fountain ./cmd/lotus-fountain + $(GOCC) run github.com/GeertJohan/go.rice/rice append --exec lotus-fountain -i ./cmd/lotus-fountain -i ./build .PHONY: lotus-fountain BINS+=lotus-fountain