cflags = string.split(cflags)
if UNDEF_NDEBUG:
cflags.append('-UNDEBUG')
+ if debug:
+ cflags.append('-g')
+ cflags.append('-O0')
lflags = os.popen(WX_CONFIG + ' --libs', 'r').read()[:-1]
lflags = string.split(lflags)
cflags = string.split(cflags)
if UNDEF_NDEBUG:
cflags.append('-UNDEBUG')
+ if debug:
+ cflags.append('-g')
+ cflags.append('-O0')
lflags = os.popen(WX_CONFIG + ' --libs', 'r').read()[:-1]
lflags = string.split(lflags)