git: bsd.dep.mk: Fix mkdep(1) parameter order

Aaron LI aly at crater.dragonflybsd.org
Mon Aug 31 02:04:08 PDT 2026


commit 0c3c903222416d5aa69068b2ad0cce391c16d9d2
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Aug 29 09:42:44 2026 +0800

    bsd.dep.mk: Fix mkdep(1) parameter order
    
    I'll need to use ${MKDEP} to set extra compiler flags (e.g.,
    `-include .../header.h`) in the forthcoming GDB.  This would break the
    ${_MKDEPSRCDIR} because mkdep(1) would pass all remaining arguments to
    ${CC} once it comes across an unknown argument.
    
    So move ${MKDEP} after ${_MKDEPSRCDIR} to fix the parameter order.
    
    This is a follow-up fix to commit
    dec8bf51d1d328f09ffaaf9e4c5a458a346ef590.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0c3c903222416d5aa69068b2ad0cce391c16d9d2


-- 
DragonFly BSD source repository


More information about the Commits mailing list