diff -r f4373f8b758d -r 471acb219d77 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Sun Jun 13 20:25:00 2010 +0200 +++ b/scripts/build/cc/gcc.sh Mon Jul 19 23:16:02 2010 +0200 @@ -396,7 +396,7 @@ # Create a symlink ${CT_TARGET}-cc to ${CT_TARGET}-gcc to always be able # to call the C compiler with the same, somewhat canonical name. # check whether compiler has an extension - file="$( ls -1 "${CT_TARGET}/bin/${CT_TARGET}-gcc."* 2>/dev/null || true )" + file="$( ls -1 "${CT_PREFIX_DIR}/bin/${CT_TARGET}-gcc."* 2>/dev/null || true )" [ -z "${file}" ] || ext=".${file##*.}" CT_DoExecLog ALL ln -sv "${CT_TARGET}-gcc${ext}" "${CT_PREFIX_DIR}/bin/${CT_TARGET}-cc${ext}"