cc/gcc: Update core_prefix_dir to prefix.
core_prefix_dir is not defined. It should be prefix.
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
1.1 --- a/scripts/build/cc/gcc.sh Sun Jul 24 19:35:24 2011 +0200
1.2 +++ b/scripts/build/cc/gcc.sh Mon Feb 27 15:24:18 2012 +0800
1.3 @@ -463,7 +463,7 @@
1.4 CT_DoExecLog ALL ln -sfv "${CT_TARGET}-gcc${ext}" "${prefix}/bin/${CT_TARGET}-cc${ext}"
1.5
1.6 if [ "${CT_MULTILIB}" = "y" ]; then
1.7 - multilibs=( $( "${core_prefix_dir}/bin/${CT_TARGET}-gcc" -print-multi-lib \
1.8 + multilibs=( $( "${prefix}/bin/${CT_TARGET}-gcc" -print-multi-lib \
1.9 |tail -n +2 ) )
1.10 if [ ${#multilibs[@]} -ne 0 ]; then
1.11 CT_DoLog EXTRA "gcc configured with these multilibs (besides the default):"