From 389a6033e27481b5b7dbe97a2faf6877020e7abf Mon Sep 17 00:00:00 2001 From: Andrew Sazonov Date: Thu, 22 Aug 2024 18:26:23 +0200 Subject: [PATCH] Use -O2 optimisation level for gfortran --- pybuild.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybuild.toml b/pybuild.toml index bad0f98..cf05897 100644 --- a/pybuild.toml +++ b/pybuild.toml @@ -86,7 +86,7 @@ build-shared = '{COMPILER} -shared CFML_Wraps.{OBJ_EXT} Wraps_*.{OBJ_EXT} {PATH} build-exe = '{COMPILER} {OPTIONS} -o {EXE_NAME} {SOURCE_PATH} -I {CFML_INCLUDE_PATH} -L{CFML_LIB_DIR} -l{CFML_LIB_NAME}' modes.base = '-cpp -fdec-math -fPIC -ffree-line-length-none -fno-stack-arrays -frecursive' modes.debug = '' -modes.release = '-O5' +modes.release = '-O2' [[build-configs]] platforms = ['macos']