Browse Source

turn on:
full optimization (Ox)
frame-pointer omission (Oy)
whole program optimization (GL)

Joseph Lee 21 years ago
parent
commit
26f83f2970
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/pptempl/compilerSettings.pp

+ 1 - 1
dtool/pptempl/compilerSettings.pp

@@ -90,7 +90,7 @@
   // use "unsafe" QIfist flt->int rounding only if FAST_FLT_TO_INT is defined
   #define REGULAR_OPTFLAGS /O2 /Ob2 /G6 $[if $[ne $[FAST_FLT_TO_INT],], /QIfist,]
 
-  #defer OPTFLAGS $[if $[OPT_MINSIZE],/O1 /Og /Ob1 /Oi /Os /G6,$[REGULAR_OPTFLAGS]]
+  #defer OPTFLAGS $[if $[OPT_MINSIZE],/Ox /Og /Ob1 /Oi /Os /Oy /GL /G6,$[REGULAR_OPTFLAGS]]
 
   //  #define OPT1FLAGS /RTCsu /GS  removing /RTCu because it crashes in dxgsg with internal compiler bug
   #define OPT1FLAGS /RTCs /GS