https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54353
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |build Last reconfirmed| |2021-09-18 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So I just tested this. The problem for me is configure in libcpp overrides the CFLAGS just to see if -g is accepted and/or when testing to see which style of dependancy gcc is emitting. I don't think there is a way to get this fixed without major changes to autoconf ...