Fix the debug build on linux.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6043 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-08-03 21:33:50 +00:00
parent 552a535f6d
commit 5ebd001d87
1 changed files with 3 additions and 0 deletions

View File

@ -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']