Fix the linux debug build in a better way so that wxWidgets debugging is still enabled.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6051 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-08-04 14:41:27 +00:00
parent 7ddf0aa711
commit 3312435ae2
1 changed files with 2 additions and 4 deletions

View File

@ -97,9 +97,6 @@ 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']
@ -232,7 +229,8 @@ else:
if env['nowx']:
env['HAVE_WX'] = 0
else:
env['HAVE_WX'] = conf.CheckWXConfig(2.8, 'aui adv core base'.split(), 0)
env['HAVE_WX'] = conf.CheckWXConfig(2.8, 'aui adv core base'.split(),
env['flavor'] == 'debug')
conf.Define('HAVE_WX', env['HAVE_WX'])
wxconfig.ParseWXConfig(env)
if not env['HAVE_WX']: