From ec2a1d3db4dca3007f3baf408e938951d8a2de6c Mon Sep 17 00:00:00 2001 From: Jordan Ribbink Date: Wed, 6 Mar 2024 18:48:55 -0800 Subject: [PATCH] change -O flag --- .goreleaser.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 1a32a8948..4a72c5e46 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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+ diff --git a/Makefile b/Makefile index 2b51cd907..9877f9aca 100644 --- a/Makefile +++ b/Makefile @@ -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 \