From: blitz-research Date: Thu, 24 Sep 2015 22:28:39 +0000 (+1200) Subject: Updated bmk to use -O3 for release. X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=1b307daefccc0d1b568ea11a1115f22e45081e40;p=blitzmax.git Updated bmk to use -O3 for release. --- 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