chore(enableStatusGoOptimizations): Optimise Release build with O3 CFLAG

This commit is contained in:
Alex Jbanca 2023-06-02 15:30:11 +03:00 committed by Alex Jbanca
parent e88369a83e
commit 4e54ee57a6
1 changed files with 2 additions and 0 deletions

View File

@ -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