git: CCVER=gcc46: Separate LDFLAGS meant for gcc and ld

John Marino marino at crater.dragonflybsd.org
Sat Feb 4 12:09:59 PST 2012


commit 4849597ab2e0671389e2a261596edb1dc86e8bb5
Author: John Marino <draco at marino.st>
Date:   Sat Feb 4 19:27:10 2012 +0100

    CCVER=gcc46: Separate LDFLAGS meant for gcc and ld
    
    The same LDFLAGS variable was being applied to gcc and ld.  Apparently
    gcc 4.4 and below recognized and accepted the -m switch and passed it
    on to the linker, but gcc 4.6 wasn't handling it.
    
    A new variable COMPILER_LDFLAGS has been created alongside LDFLAGS.  The
    former is meant to be passed to gcc and the latter is passed to ld.

Summary of changes:
 sys/boot/pc32/kgzldr/Makefile      |    6 ++----
 sys/boot/pc32/loader/Makefile      |    9 +++------
 sys/boot/pc32/loader_tftp/Makefile |   10 +++-------
 sys/boot/pc64/Makefile.inc         |    1 +
 4 files changed, 9 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4849597ab2e0671389e2a261596edb1dc86e8bb5


-- 
DragonFly BSD source repository





More information about the Commits mailing list