git: bsd.dep.mk: Split logic for CC and CXX handling.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sat May 19 08:14:05 PDT 2018


commit 00f0616b8df020d38239b71c1e5ad2219f53ab9a
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sat May 19 10:39:24 2018 +0300

    bsd.dep.mk: Split logic for CC and CXX handling.
    
    Previously it assumed that cc(1) will be able to handle c++ sources.
    That is not the case for compilers other than gcc or clang.
    
    While there:
      * add MKDEPCC that could be used to override CC in certain
        more convoluted scenarios;
      * finally add a fix for hostprog deps, note that PATH skip from
        NXENV is intentional, we prefer not to use host's mkdep(1).

Summary of changes:
 share/mk/bsd.dep.mk | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/00f0616b8df020d38239b71c1e5ad2219f53ab9a


-- 
DragonFly BSD source repository



More information about the Commits mailing list