Browse Source

further refine prev chng

cxgeorge 24 years ago
parent
commit
04e5405af1
1 changed files with 3 additions and 1 deletions
  1. 3 1
      dtool/pptempl/compilerSettings.pp

+ 3 - 1
dtool/pptempl/compilerSettings.pp

@@ -52,7 +52,9 @@
   #if $[DO_CROSSOBJ_OPT]
      #define OPT4FLAGS /GL
      #define LDFLAGS_OPT4 /LTCG
-     #define LIBBER $[LIBBER] /LTCG
+     #if $[>= $[OPTIMIZE],4] 
+        #define LIBBER $[LIBBER] /LTCG
+     #endif 
   #endif 
   
   // remove 1-3 when allocator stuff is rewritten to build with VC7 STL