Skip to content

Commit

Permalink
Try gcflags
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Mar 7, 2024
1 parent 4c89df6 commit a18dff4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ builds:
- amd64
- arm64
env:
- CGO_CFLAGS='-O2 -D__BLST_PORTABLE__'
- CGO_ENABLED=1
- CC_darwin_amd64=o64-clang
- CXX_darwin_amd64=o64-clang+
Expand All @@ -31,6 +30,9 @@ builds:
- 'CXX={{ index .Env (print "CXX_" .Os "_" .Arch) }}'
flags:
- -mod=readonly
gcflags:
- -O2
- -D__BLST_PORTABLE__
ldflags:
- -X github.com/onflow/flow-cli/build.commit={{ .Env.COMMIT }} -X github.com/onflow/flow-cli/build.semver={{ .Env.VERSION }} -X github.com/onflow/flow-cli/internal/command.mixpanelToken={{ .Env.MIXPANEL_PROJECT_TOKEN }} -X github.com/onflow/flow-cli/internal/accounts.accountToken={{ .Env.LILICO_TOKEN }}

Expand Down

0 comments on commit a18dff4

Please sign in to comment.