summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/bullet/SCsub2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/bullet/SCsub b/modules/bullet/SCsub
index 11ce18449b..0416dd7f5f 100644
--- a/modules/bullet/SCsub
+++ b/modules/bullet/SCsub
@@ -187,6 +187,8 @@ if env['builtin_bullet']:
thirdparty_sources = [thirdparty_dir + file for file in bullet2_src]
env_bullet.Append(CPPPATH=[thirdparty_dir])
+ if env['target'] == "debug" or env['target'] == "release_debug":
+ env_bullet.Append(CCFLAGS=['-DBT_DEBUG'])
env_thirdparty = env_bullet.Clone()
env_thirdparty.disable_warnings()