Browse Source

add no_cross_obj flag

cxgeorge 24 years ago
parent
commit
233ba9931f
1 changed files with 4 additions and 2 deletions
  1. 4 2
      dtool/pptempl/compilerSettings.pp

+ 4 - 2
dtool/pptempl/compilerSettings.pp

@@ -46,8 +46,10 @@
   #define COMPILER cl
   #define LINKER link
   #define LIBBER lib
-  
-  #define DO_CROSSOBJ_OPT 1
+
+  #if $[eq $[NO_CROSSOBJ_OPT],]
+     #define DO_CROSSOBJ_OPT 1
+  #endif 
   
   #if $[DO_CROSSOBJ_OPT]
      #define OPT4FLAGS /GL