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(-)
10 ltrace is currently BROKEN! It depends on libelf, and I don't
11 know how to configure/compile that so that ltrace can successfully
12 use it. I you manage to build ltrace (and libelf!), please be so
13 kind as to tell me! Thank you!
19 prompt "ltrace version"
21 config LTRACE_V_0_3_36
23 prompt "0.3.36 (OBSOLETE)"
30 # CT_INSERT_VERSION_ABOVE
31 # Don't remove above line!
36 default "0.3.36" if LTRACE_V_0_3_36
37 default "0.4" if LTRACE_V_0_4
38 # CT_INSERT_VERSION_STRING_ABOVE
39 # # Don't remove above line!