git: objformat: Add LINKERVER environment variable recognition

John Marino marino at crater.dragonflybsd.org
Sun Feb 12 03:50:11 PST 2012


commit 0784934ab2d8a3bba5ad1f59713db3cea8005865
Author: John Marino <draco at marino.st>
Date:   Sun Feb 12 10:48:33 2012 +0100

    objformat: Add LINKERVER environment variable recognition
    
    objformat will now scan for the LINKERVER environment variable.  If this
    variable exists *AND* it has the value of "ld.gold", the command "ld"
    will point at the gold linker.  In every other case, it will point at
    the classic "gnu ld" linker.
    
    The relative command position of "ld" was moved to after the compiler
    group because it's a popular command and having it towards the front
    means less time in the search loop.

Summary of changes:
 usr.bin/objformat/objformat.1 |    8 +++++++-
 usr.bin/objformat/objformat.c |   23 +++++++++++++++++++----
 2 files changed, 26 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0784934ab2d8a3bba5ad1f59713db3cea8005865


-- 
DragonFly BSD source repository





More information about the Commits mailing list