diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-27 11:18:56 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-27 11:18:56 +0000 |
commit | e42f966f36777cc3b830b0e37b3b414c66043ae9 (patch) | |
tree | e99b970aa5956e8eec4a717891aa68b61c8a21f9 | |
parent | 0f8a47d75c74a83721fa07673349067d6ac039c6 (diff) | |
download | crosstool-ng-e42f966f36777cc3b830b0e37b3b414c66043ae9.tar.gz crosstool-ng-e42f966f36777cc3b830b0e37b3b414c66043ae9.tar.bz2 crosstool-ng-e42f966f36777cc3b830b0e37b3b414c66043ae9.zip |
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(-)
-rw-r--r-- | scripts/build/debug/300-gdb.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index e3f84c93..a2f5e7c8 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -136,11 +136,12 @@ do_debug_gdb_build() { 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 |