From 634d62622a81cac2b32192ca45025b008ff4042c Mon Sep 17 00:00:00 2001 From: Roger <50648015+RogerLamTd@users.noreply.github.com> Date: Tue, 30 Apr 2024 21:41:29 -0700 Subject: [PATCH] feat(client): update makefile (#784) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 98bfb2102..1c14e6e46 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ LD_FLAGS_ARGS +=-X github.com/taikoxyz/taiko-client/version.GitDate=$(GIT_DATE) LD_FLAGS := -ldflags "$(LD_FLAGS_ARGS)" build: - GO111MODULE=on go build -v $(LD_FLAGS) -o bin/taiko-client cmd/main.go + @GO111MODULE=on CGO_CFLAGS="-O -D__BLST_PORTABLE__" CGO_CFLAGS_ALLOW="-O -D__BLST_PORTABLE__" go build -v $(LD_FLAGS) -o bin/taiko-client cmd/main.go clean: @rm -rf bin/*