Skip to content

Commit

Permalink
change -O flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Mar 7, 2024
1 parent 4a91b3d commit ec2a1d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ builds:
- amd64
- arm64
env:
- CGO_CFLAGS="-O 2 -D __BLST_PORTABLE__"
- CGO_CFLAGS="-O -D__BLST_PORTABLE__"
- CGO_ENABLED=1
- CC_darwin_amd64=o64-clang
- CXX_darwin_amd64=o64-clang+
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ci: install-tools generate test coverage

$(BINARY):
CGO_ENABLED=1 \
CGO_CFLAGS="-O2 -D__BLST_PORTABLE__" \
CGO_CFLAGS="-O -D__BLST_PORTABLE__" \
GO111MODULE=on go build \
-trimpath \
-ldflags \
Expand Down

0 comments on commit ec2a1d3

Please sign in to comment.