Updated bmk to use -O3 for release.
authorblitz-research <blitzmunter@gamil.com>
Thu, 24 Sep 2015 22:28:39 +0000 (10:28 +1200)
committerblitz-research <blitzmunter@gamil.com>
Thu, 24 Sep 2015 22:28:39 +0000 (10:28 +1200)
src/bmk/bmk_make.bmx

index f6a253c4ff57ce88b029316769cf67f19112444a..504039542862fe67547f4b5dabef76920d0c7865 100644 (file)
@@ -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