Skip to content

Commit

Permalink
update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Feb 21, 2024
1 parent 47724d2 commit 4f6cf73
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,7 @@ endif
ci: install-tools generate test coverage

$(BINARY):
if [ "$(GOARCH)" = "arm64" ]; then \
export CC=aarch64-linux-gnu-gcc; \
elif [ "$(GOARCH)" = "amd64" ]; then \
export CC=x86_64-linux-gnu-gcc; \
fi; \
GO111MODULE=on \
CGO_ENABLED=1 \
CGO_FLAGS="-O2 -D__BLST_PORTABLE__" \
go build \
GO111MODULE=on go build \
-trimpath \
-ldflags \
"-X github.com/onflow/flow-cli/build.commit=$(COMMIT) -X github.com/onflow/flow-cli/build.semver=$(VERSION) -X github.com/onflow/flow-cli/internal/accounts.accountToken=${ACCOUNT_TOKEN}"\
Expand Down

0 comments on commit 4f6cf73

Please sign in to comment.