git: gcc47: Allow gcc47 to compile itself at WORLD_CCOPTLEVEL=g.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Mon Oct 24 05:15:21 PDT 2016


commit 7450193e72af214945785854ecd0e5b6fe0f98c9
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Wed Oct 19 13:51:13 2016 +0300

    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.

Summary of changes:
 gnu/lib/gcc47/Makefile.inc    | 6 ++++++
 gnu/usr.bin/cc47/Makefile.inc | 6 ++++++
 2 files changed, 12 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7450193e72af214945785854ecd0e5b6fe0f98c9


-- 
DragonFly BSD source repository


More information about the Commits mailing list