diff --git a/SConstruct b/SConstruct index 3ebfff7cde..64669145bd 100644 --- a/SConstruct +++ b/SConstruct @@ -97,6 +97,9 @@ if env['CCVERSION'] >= '4.3.0': env['CPPDEFINES'] = [] if env['flavor'] == 'debug': env['CPPDEFINES'] += ['_DEBUG'] + if sys.platform == 'linux2': + # FIXME: This disables wx debugging how do we make it work? + env['CPPDEFINES'] += ['NDEBUG'] elif env['flavor'] == 'fastlog': env['CPPDEFINES'] += ['DEBUGFAST'] env['CPPPATH'] = ['#Source/PluginSpecs']