DragonFly BSD
DragonFly commits List (threaded) for 2012-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 4 Feb 2012 12:09:59 -0800 (PST)

commit 4849597ab2e0671389e2a261596edb1dc86e8bb5
Author: John Marino <draco@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]