git: Split logic for CC and CXX handling.

Rimvydas Jasinskas zrj at
Sat May 19 08:14:05 PDT 2018

commit 00f0616b8df020d38239b71c1e5ad2219f53ab9a
Author: zrj <rimvydas.jasinskas at>
Date:   Sat May 19 10:39:24 2018 +0300 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/ | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list