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 # D.U.M.A. - Detect Unintended Memory Access - Memory checker
8 D.U.M.A. - Detect Unintended Memory Access
9 A memory bound checker, with additional features.
10 Formerly known as Electric Fence.
16 prompt "Build a static library"
21 prompt "Build a shared library"
22 default y if SHARED_LIBS
23 default n if ! SHARED_LIBS
27 prompt "D.U.M.A. version"
41 # CT_INSERT_VERSION_ABOVE
42 # Don't remove above line!
47 default "2_5_1" if DUMA_V_2_5_1
48 default "2_5_8" if DUMA_V_2_5_8
49 default "2_5_12" if DUMA_V_2_5_12
50 # CT_INSERT_VERSION_STRING_ABOVE
51 # Don't remove above line!