From 1b307daefccc0d1b568ea11a1115f22e45081e40 Mon Sep 17 00:00:00 2001 From: blitz-research Date: Fri, 25 Sep 2015 10:28:39 +1200 Subject: [PATCH] Updated bmk to use -O3 for release. --- src/bmk/bmk_make.bmx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bmk/bmk_make.bmx b/src/bmk/bmk_make.bmx index f6a253c..5040395 100644 --- a/src/bmk/bmk_make.bmx +++ b/src/bmk/bmk_make.bmx @@ -121,7 +121,8 @@ Function MakeMod:TFile( mod_name$ ) cc_opts:+" -I"+CQuote(path) cc_opts:+" -I"+CQuote(ModulePath("")) - If opt_release cc_opts:+" -O2 -DNDEBUG" + If opt_release cc_opts:+" -O3 -fno-tree-vrp -DNDEBUG" +' If opt_release cc_opts:+" -O2 -DNDEBUG" If opt_threaded cc_opts:+" -DTHREADED" bcc_opts=" -g "+opt_arch @@ -355,7 +356,8 @@ Function MakeApp:TFile( Main$,makelib ) cc_opts="" cc_opts:+" -I"+CQuote(ModulePath("")) - If opt_release cc_opts:+" -O2 -DNDEBUG" + If opt_release cc_opts:+" -O3 -fno-tree-vrp -DNDEBUG" +' If opt_release cc_opts:+" -O2 -DNDEBUG" If opt_threaded cc_opts:+" -DTHREADED" bcc_opts=" -g "+opt_arch -- 2.30.2