Introduce target-specific LDFLAGS, the same way we have CFLAGS for the target.
It seems to be helping gcc somewhat into telling the correct endianness to ld that sticks with little endian even when the target is big (eg armeb-unknown-linux-uclibcgnueabi).
There's still work to do, especially finish the gcc part that is not in this commit.
/trunk/scripts/functions | 9 7 2 0 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
1 # dmalloc debug facility
12 prompt "dmalloc version"
14 config DMALLOC_V_5_4_3
16 prompt "5.4.3 (OBSOLETE)"
19 config DMALLOC_V_5_5_2
23 # CT_INSERT_VERSION_ABOVE
24 # Don't remove above line!
27 config DMALLOC_VERSION
29 default "5.4.3" if DMALLOC_V_5_4_3
30 default "5.5.2" if DMALLOC_V_5_5_2
31 # CT_INSERT_VERSION_STRING_ABOVE
32 # Don't remove above line!