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(-)
12 prompt "strace version"
16 prompt "4.5 (OBSOLETE)"
19 config STRACE_V_4_5_14
21 prompt "4.5.14 (OBSOLETE)"
24 config STRACE_V_4_5_15
28 config STRACE_V_4_5_16
32 # CT_INSERT_VERSION_ABOVE
33 # Don't remove above line!
38 default "4.5" if STRACE_V_4_5
39 default "4.5.14" if STRACE_V_4_5_14
40 default "4.5.15" if STRACE_V_4_5_15
41 default "4.5.16" if STRACE_V_4_5_16
42 # CT_INSERT_VERSION_STRING_ABOVE
43 # # Don't remove above line!