This changes --enable-debug
to choose better options:
- We use
-Og
rather than-O0
if it is available - Prefer
-g3
over-g
if it is available - Add debug preprocessor flags to
$DEBUG_CPPFLAGS
rather than updating$CPPFLAGS
directly
This also updates the flags summaries at the end of the configure script to more accurately reflect what flags will be used for most of the code in src.