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 --- gdb-6.1.1-dist/readline/configure 2003-05-27 18:29:47.000000000 -0500
2 +++ gdb-6.1.1/readline/configure 2004-08-09 14:20:23.000000000 -0500
6 echo "$as_me:$LINENO: checking for mbstate_t" >&5
7 +echo $ECHO_N "bash_cv_have_mbstate_t=$bash_cv_have_mbstate_t" >&6
8 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
9 +if test "${bash_cv_have_mbstate_t+set}" != set; then
10 + bash_cv_have_mbstate_t=yes
11 + echo $ECHO_N "WARNING!! forcing to yes!!! $ECHO_C" >&6
13 if test "${bash_cv_have_mbstate_t+set}" = set; then
14 echo $ECHO_N "(cached) $ECHO_C" >&6