From 4e54ee57a61876dac14241600892de0fbd6fbbda Mon Sep 17 00:00:00 2001 From: Alex Jbanca Date: Fri, 2 Jun 2023 15:30:11 +0300 Subject: [PATCH] chore(enableStatusGoOptimizations): Optimise Release build with O3 CFLAG --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 0dbbb29be1..559f1c4e92 100644 --- a/Makefile +++ b/Makefile @@ -220,6 +220,8 @@ else # Additional optimization flags for release builds are not included at present; # adding them will involve refactoring config.nims in the root of this repo NIM_PARAMS += -d:release + STATUSGO_MAKE_PARAMS += CGO_CFLAGS="-O3" + STATUSKEYCARDGO_MAKE_PARAMS += CGO_CFLAGS="-O3" endif NIM_PARAMS += --outdir:./bin