git: btx: tweak makefile for gold linker

John Marino marino at crater.dragonflybsd.org
Tue May 17 15:24:42 PDT 2011


commit 244842740e956d23875c2fe907fe34257f2d62d7
Author: John Marino <draco at marino.st>
Date:   Tue May 17 21:49:27 2011 +0200

    btx: tweak makefile for gold linker
    
    gold linker ignores the -i flag, which is considered a synonym for -r
    flag (--relocatable) by ld linker.  This causes the btx build of crt0
    to fail under gold.  The easy solution changes the -i flag to -r since
    both linkers understand it.
    
    This is the only instance of "-i" in the system.  All the other products
    that require the relocatable switch use the "-r" option, so now there
    are no "-i" flags left.

Summary of changes:
 sys/boot/pc32/btx/lib/Makefile |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/244842740e956d23875c2fe907fe34257f2d62d7


-- 
DragonFly BSD source repository





More information about the Commits mailing list