git: initrd: Clean up rescue link by using more per-program libraries

Aaron LI aly at crater.dragonflybsd.org
Wed Sep 23 01:40:45 PDT 2026


commit 9a81fba6d3600375f4322ef046747fe59941f20d
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Sep 23 16:35:16 2026 +0800

    initrd: Clean up rescue link by using more per-program libraries
    
    Move those libraries that are only used by one program to be per-program
    libraries, i.e., move them from global ${CRUNCH_LIBS} to be per-program
    ${CRUNCH_LIB_${P}}.  This helps clean up the final link command and
    reduce the probability of symbol conflicts and unexpected hiding.
    
    See also the previous commit 4935cf62c0e4f0dc2b7ecd1fcab301589d1f789e.

Summary of changes:
 initrd/rescue/Makefile | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9a81fba6d3600375f4322ef046747fe59941f20d


-- 
DragonFly BSD source repository


More information about the Commits mailing list