git: Fix world build in NO_ALTBINUTILS edge case

John Marino marino at crater.dragonflybsd.org
Tue Dec 20 10:33:16 PST 2016


commit 0fcba03f4d69f19be01271321459634acdbd0cb3
Author: John Marino <draco at marino.st>
Date:   Tue Dec 20 12:32:53 2016 -0600

    Fix world build in NO_ALTBINUTILS edge case
    
    In the case that the machine has been updated within 30 days but with
    NO_ALTBINUTILS set, the world build fails.  This is due because the
    logic to fallback to earlier binutils versions fails due to empty
    directories that are installed regardless of the NO_ALBINUTILS setting.
    The logic was updated to search for binutils programs rather than
    directories.  In the edge case, the oldest version of binutils on the
    system is used to build the native versions during the early build phases.

Summary of changes:
 share/mk/bsd.cpu.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list