Browse Source

add EXTRA_CDEFS to unix build

David Rose 23 years ago
parent
commit
8df8b72c49
1 changed files with 4 additions and 4 deletions
  1. 4 4
      dtool/Config.pp

+ 4 - 4
dtool/Config.pp

@@ -532,10 +532,10 @@
 // options to interrogate, guaranteeing that the correct interfaces
 // options to interrogate, guaranteeing that the correct interfaces
 // are generated.  Do not include -D here; that will be supplied
 // are generated.  Do not include -D here; that will be supplied
 // automatically.
 // automatically.
-#defer CDEFINES_OPT1 _DEBUG
-#defer CDEFINES_OPT2 _DEBUG
-#defer CDEFINES_OPT3
-#defer CDEFINES_OPT4 NDEBUG
+#defer CDEFINES_OPT1 _DEBUG $[EXTRA_CDEFS]
+#defer CDEFINES_OPT2 _DEBUG $[EXTRA_CDEFS]
+#defer CDEFINES_OPT3 $[EXTRA_CDEFS]
+#defer CDEFINES_OPT4 NDEBUG $[EXTRA_CDEFS]
 
 
 // What additional flags should be passed for each value of OPTIMIZE
 // What additional flags should be passed for each value of OPTIMIZE
 // (above)?  We separate out the compiler-optimization flags, above,
 // (above)?  We separate out the compiler-optimization flags, above,