CCVER=gcc46: Separate LDFLAGS meant for gcc and ld
authorJohn Marino <draco@marino.st>
Sat, 4 Feb 2012 18:27:10 +0000 (19:27 +0100)
committerJohn Marino <draco@marino.st>
Sat, 4 Feb 2012 19:56:41 +0000 (20:56 +0100)
commit4849597ab2e0671389e2a261596edb1dc86e8bb5
treecd433b950b9b16b0d12e75625717dce05e2c8b0e
parent64005844ae3d5bad9607c2bdcbdf3ec627bc70bc
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.
sys/boot/pc32/kgzldr/Makefile
sys/boot/pc32/loader/Makefile
sys/boot/pc32/loader_tftp/Makefile
sys/boot/pc64/Makefile.inc