# HG changeset patch # User "Yann E. MORIN" # Date 1214565536 0 # Node ID 32af757a45f62ad64e2b66fbd6348a1f7a7bcb06 # Parent 4df159d203556c4f99f36cf7441b88b1adf8c5e8 Native gcc is picky about the CC and LD variables. Set them unconditionally, whether building static or not. /trunk/scripts/build/debug/300-gdb.sh | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -r 4df159d20355 -r 32af757a45f6 scripts/build/debug/300-gdb.sh --- a/scripts/build/debug/300-gdb.sh Fri Jun 27 11:18:02 2008 +0000 +++ b/scripts/build/debug/300-gdb.sh Fri Jun 27 11:18:56 2008 +0000 @@ -136,11 +136,12 @@ native_extra_config="${native_extra_config} --with-gmp=${CT_SYSROOT_DIR}/usr --with-mpfr=${CT_SYSROOT_DIR}/usr" fi - CC_for_gdb= - LD_for_gdb= if [ "${CT_GDB_NATIVE_STATIC}" = "y" ]; then CC_for_gdb="${CT_TARGET}-gcc -static" LD_for_gdb="${CT_TARGET}-ld -static" + else + CC_for_gdb="${CT_TARGET}-gcc" + LD_for_gdb="${CT_TARGET}-ld" fi export ac_cv_func_strncmp_works=yes