summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2010-08-03 21:33:50 +0000
committerGlenn Rice <glennricster@gmail.com>2010-08-03 21:33:50 +0000
commit5ebd001d877fd8cfeb3e61bd4bc53dad3587e4df (patch)
tree18e16eca55bef0ff97d039eb520b7c70d540d5a7
parent552a535f6da523399cddc519a44e8fbe31464bce (diff)
Fix the debug build on linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6043 8ced0084-cf51-0410-be5f-012b33b47a6e
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
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']