Don't opitimise when doing a debug build.

This commit is contained in:
John Garland 2010-01-24 02:23:57 +00:00
parent e79f6ada2f
commit b4b95c9423
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ class build_ext_debug(_build_ext):
lt_ext.extra_compile_args.remove('-DNDEBUG')
lt_ext.extra_compile_args.remove('-O2')
lt_ext.extra_compile_args.append('-g')
remove_from_cflags(["-DNDEBUG"])
remove_from_cflags(["-DNDEBUG", "-O2"])
return _build_ext.run(self)
class clean_plugins(cmd.Command):