https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108022
--- Comment #6 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Martin Liška from comment #5) > Yes, -ggdb3 seems to me like a reasonable solution. Note you can always > strip the debuginfo into a separate file. This doesn't really work for us, as building with (a lot of) debug info requires a lot more build-time resources (disk and RAM, mainly). We want to do these checks for everybody building things - keeping in mind we're a source-based distribution, and we don't make everyone build with debugging symbols. Building with -ggdb3 for everybody is not really an option. The existing behaviour has been pretty useful for us for many years, and we were hoping to extend it to CPPFLAGS too.