scripts/build/cc/gcc.sh
branch1.7
changeset 2047 ace1d90c9b15
parent 1996 f4373f8b758d
     1.1 --- a/scripts/build/cc/gcc.sh	Sun Jun 13 20:25:00 2010 +0200
     1.2 +++ b/scripts/build/cc/gcc.sh	Thu Jul 29 19:30:37 2010 +0200
     1.3 @@ -396,7 +396,7 @@
     1.4      # Create a symlink ${CT_TARGET}-cc to ${CT_TARGET}-gcc to always be able
     1.5      # to call the C compiler with the same, somewhat canonical name.
     1.6      # check whether compiler has an extension
     1.7 -    file="$( ls -1 "${CT_TARGET}/bin/${CT_TARGET}-gcc."* 2>/dev/null || true )"
     1.8 +    file="$( ls -1 "${CT_PREFIX_DIR}/bin/${CT_TARGET}-gcc."* 2>/dev/null || true )"
     1.9      [ -z "${file}" ] || ext=".${file##*.}"
    1.10      CT_DoExecLog ALL ln -sv "${CT_TARGET}-gcc${ext}" "${CT_PREFIX_DIR}/bin/${CT_TARGET}-cc${ext}"
    1.11