1.1 --- a/scripts/build/cc/gcc.sh Wed May 27 21:16:01 2009 +0000
1.2 +++ b/scripts/build/cc/gcc.sh Wed Aug 19 19:44:30 2009 +0200
1.3 @@ -41,6 +41,10 @@
1.4 #------------------------------------------------------------------------------
1.5 # Core gcc pass 1
1.6 do_cc_core_pass_1() {
1.7 + # If we're building a canadian compiler no use to build the CC
1.8 + # core compiler, we're not using it
1.9 + [ -n "${CT_CANADIAN}" ] && return 0
1.10 +
1.11 # If we're building for bare metal, build the static core gcc,
1.12 # with libgcc.
1.13 # In case we're not bare metal, and we're NPTL, build the static core gcc.
1.14 @@ -54,6 +58,10 @@
1.15
1.16 # Core gcc pass 2
1.17 do_cc_core_pass_2() {
1.18 + # If we're building a canadian compiler no use to build the CC
1.19 + # core compiler, we're not using it
1.20 + [ -n "${CT_CANADIAN}" ] && return 0
1.21 +
1.22 # In case we're building for bare metal, do nothing, we already have
1.23 # our compiler.
1.24 # In case we're NPTL, build the shared core gcc and the target libgcc.