[Bug other/54692] [4.8 Regression] gcc doesn't build with "-Og -g"

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 24 14:40:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54692

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-24 14:39:30 UTC ---
Guess
  *) CFLAGS=`echo $CFLAGS | sed "s/-O[[s0-9]]* *//" `
     CXXFLAGS=`echo $CXXFLAGS | sed "s/-O[[s0-9]]* *//" ` ;;
needs to be now
-O[[s0-9gf]] instead (also for -Ofast).
That said, I don't see how it is related to using STAGE1_CFLAGS (note missing
XX).



More information about the Gcc-bugs mailing list