Skip to content

Commit

Permalink
use INPUT_GOARCH
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarak Ben Youssef committed Feb 5, 2024
1 parent 5333765 commit 280acb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,9 @@ install-cross-build-tools:
fi

.PHONY: pre-build
pre-build:
pre-build: generate
export CGO_FLAGS="-O2 -D__BLST_PORTABLE__"
export GOARCH=$(INPUT_GOARCH)
if [ "$(GOARCH)" = "arm64" ] ; then \
export CC=aarch64-linux-gnu-gcc ; \
elif [ "$(GOARCH)" = "amd64" ] ; then \
Expand Down

0 comments on commit 280acb3

Please sign in to comment.