summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-10-02 13:53:53 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-10-02 13:54:15 -0300
commit75c29879b0c0b100415b2abd1992994656d06aec (patch)
tree6716860f0e81c0be225a9ea7592004302ee2840f /SConstruct
parentff1794a7a080e30cff4dd1efb99289ab1f4f267d (diff)
downloadredot-engine-75c29879b0c0b100415b2abd1992994656d06aec.tar.gz
Disable forced inline when building in debug.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index a056a0c3ae..1898e0b5d3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -234,7 +234,8 @@ env_base.platform_exporters = platform_exporters
env_base.platform_apis = platform_apis
if (env_base['target'] == 'debug'):
- env_base.Append(CPPDEFINES=['DEBUG_MEMORY_ALLOC'])
+ env_base.Append(CPPDEFINES=['DEBUG_MEMORY_ALLOC','DISABLE_FORCED_INLINE'])
+
if (env_base['no_editor_splash']):
env_base.Append(CPPDEFINES=['NO_EDITOR_SPLASH'])