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(-)
11 # CT_INSERT_VERSION_ABOVE
12 # Don't remove above line!
17 default "4.2.2" if GMP_V_4_2_2
18 # CT_INSERT_VERSION_STRING_ABOVE
19 # Don't remove above line!
26 It is highly recommended that 'make check' is run against the newly built
27 GMP library. See http://gmplib.org/