configure
configures the build from scratch (with minimal support for caching certain results). Therefore, you need to supply all the same flags as before.
When changing configure flags, it is also recommended to do a make distclean
to ensure that everything is rebuilt. This is especially important with --with-pydebug
since the basic PyObject
layout will change.