1.1 --- a/scripts/build/debug/400-ltrace.sh Sat Mar 06 16:05:20 2010 +0100
1.2 +++ b/scripts/build/debug/400-ltrace.sh Tue Mar 16 23:10:46 2010 +0100
1.3 @@ -14,11 +14,6 @@
1.4 do_debug_ltrace_extract() {
1.5 CT_Extract "ltrace-${CT_LTRACE_VERSION}"
1.6 CT_Patch "ltrace-${CT_LTRACE_VERSION}"
1.7 - # ltrace uses ppc instead of powerpc for the arch name
1.8 - # create a symlink to get it to build for powerpc
1.9 - CT_Pushd "${CT_SRC_DIR}/ltrace-${CT_LTRACE_VERSION}/sysdeps/linux-gnu"
1.10 - CT_DoExecLog ALL ln -sf ppc powerpc
1.11 - CT_Popd
1.12 }
1.13
1.14 do_debug_ltrace_build() {
1.15 @@ -35,9 +30,10 @@
1.16 # ltrace-0.5.3, and later, don't use GNU Autotools configure script anymore
1.17 if [ "${CT_LTRACE_0_5_3_or_later}" = "y" ]; then
1.18 case "${CT_ARCH}:${CT_ARCH_BITNESS}" in
1.19 - x86:32) ltrace_host="i386";;
1.20 - x86:64) ltrace_host="x86_64";;
1.21 - *) ltrace_host="${CT_ARCH}";;
1.22 + x86:32) ltrace_host="i386";;
1.23 + x86:64) ltrace_host="x86_64";;
1.24 + powerpc:*) ltrace_host="ppc";;
1.25 + *) ltrace_host="${CT_ARCH}";;
1.26 esac
1.27 CC="${CT_TARGET}-${CT_CC}" \
1.28 HOST="${ltrace_host}" \