diff -r b432bd628b10 -r 4131f2e955aa scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Wed May 27 21:16:01 2009 +0000 +++ b/scripts/build/cc/gcc.sh Fri Jun 26 19:09:22 2009 +0200 @@ -41,6 +41,10 @@ #------------------------------------------------------------------------------ # Core gcc pass 1 do_cc_core_pass_1() { + # If we're building a canadian compiler no use to build the CC + # core compiler, we're not using it + [ -n "${CT_CANADIAN}" ] && return 0 + # If we're building for bare metal, build the static core gcc, # with libgcc. # In case we're not bare metal, and we're NPTL, build the static core gcc. @@ -54,6 +58,10 @@ # Core gcc pass 2 do_cc_core_pass_2() { + # If we're building a canadian compiler no use to build the CC + # core compiler, we're not using it + [ -n "${CT_CANADIAN}" ] && return 0 + # In case we're building for bare metal, do nothing, we already have # our compiler. # In case we're NPTL, build the shared core gcc and the target libgcc.