git: sys.mk: Introduce WORLD_CFLAGS.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Fri Aug 12 02:15:58 PDT 2016


commit 5d6d7712c81dc89e0285eb2cbce7abb81cd46dd4
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Mon Aug 8 18:03:26 2016 +0300

    sys.mk: Introduce WORLD_CFLAGS.
    
    Main purpose of this flag is to provide user a way to safely add extra
    compiler flags to the build system without accidentally removing things
    like -pipe or -Ox flags. Also it will help to ensure that none of user
    set world flags will propagate to dports compilation to cause ruckus.
    CFLAGS is still available as before provided it will be handled with care.
    
    While there, adjust make.conf(5) to promote WORLD_CFLAGS usage instead of
    manipulating CFLAGS directly. Also fix typo, ld.gold is default.

Summary of changes:
 etc/defaults/make.conf     |  5 +++++
 share/man/man5/make.conf.5 | 10 +++++-----
 share/mk/sys.mk            |  2 +-
 3 files changed, 11 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5d6d7712c81dc89e0285eb2cbce7abb81cd46dd4


-- 
DragonFly BSD source repository



More information about the Commits mailing list