From 5ebd001d877fd8cfeb3e61bd4bc53dad3587e4df Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Tue, 3 Aug 2010 21:33:50 +0000 Subject: [PATCH] Fix the debug build on linux. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6043 8ced0084-cf51-0410-be5f-012b33b47a6e --- SConstruct | 3 +++ 1 file changed, 3 insertions(+) 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']