gcc47: Allow gcc47 to compile itself at WORLD_CCOPTLEVEL=g.
authorzrj <rimvydas.jasinskas@gmail.com>
Wed, 19 Oct 2016 10:51:13 +0000 (13:51 +0300)
committerzrj <zrj@dragonflybsd.org>
Mon, 24 Oct 2016 11:55:35 +0000 (14:55 +0300)
commit7450193e72af214945785854ecd0e5b6fe0f98c9
treedae9035911ed10f1815d4a32cd099b4dce8eb0dd
parent82a792ca928fd98a8c5d82d0693e5c9f782077ae
gcc47: Allow gcc47 to compile itself at WORLD_CCOPTLEVEL=g.

Override supplied -Og when gcc47 is bootstrapping itself.
-Og is very useful in some heavy debugging seasions so it is better to give
developers an easy workaround than fail for a single part of buildworld.

Only intended for WORLD_CCOPTLEVEL=g compilations to not require to explictly
disable the alternative compiler (NO_ALTCOMPILER=true).
Note that -Og is mostly -O1 with few optimizations disabled.
gnu/lib/gcc47/Makefile.inc
gnu/usr.bin/cc47/Makefile.inc