git: cross-tools stage: Don't build unused linker (i.e. gold)

John Marino marino at crater.dragonflybsd.org
Tue Mar 31 13:07:16 PDT 2015


commit 738725bf59e57bb24882c202820424c517ab2b97
Author: John Marino <draco at marino.st>
Date:   Tue Mar 31 20:56:50 2015 +0200

    cross-tools stage: Don't build unused linker (i.e. gold)
    
    Only one linker is used to build the world, but each version of binutils
    normally installs two linkers.  Update the build infrastructure to skip
    building one linker for the cross-tools version of binutils.  This is
    normally the gold linker, which builds very slowly due to being written
    in c++.
    
    This change could be backported to binutils 2.24, but right now it only
    applies to binutils 2.25, the version normally used to build world.

Summary of changes:
 Makefile.inc1                           |  1 +
 gnu/usr.bin/binutils225/Makefile        |  9 ++++++++-
 gnu/usr.bin/binutils225/block2/Makefile | 14 ++++++++++++--
 3 files changed, 21 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/738725bf59e57bb24882c202820424c517ab2b97


-- 
DragonFly BSD source repository


More information about the Commits mailing list