# HG changeset patch # User "Yann E. MORIN" # Date 1311528784 -7200 # Node ID d325be92e763b248ccb1578cd553f22db4a9ca05 # Parent 86ea5204e9ce7d304dffb12375f395d1cfc1b9a3 cc/gcc: no need to build a static core pass-1 gcc for baremetal The only user of the static core compiler in pass-1 was the newlib C library. Now that it is build in a later step, we do no longer need to build a static core compiler in pass-1. Signed-off-by: "Yann E. MORIN" diff -r 86ea5204e9ce -r d325be92e763 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Sun Jul 17 18:01:28 2011 +0200 +++ b/scripts/build/cc/gcc.sh Sun Jul 24 19:33:04 2011 +0200 @@ -64,14 +64,6 @@ # In case we're not bare metal, and we're NPTL, build the static core gcc. # In any other case, do nothing. case "${CT_BARE_METAL},${CT_CANADIAN},${CT_THREADS}" in - y,*,*) - do_core=y - core_opts+=( "mode=static" ) - core_opts+=( "host=${CT_HOST}" ) - core_opts+=( "complibs=${CT_COMPLIBS_DIR}" ) - core_opts+=( "prefix=${CT_CC_CORE_STATIC_PREFIX_DIR}" ) - core_opts+=( "cflags=${CT_CFLAGS_FOR_HOST}" ) - ;; ,y,*) ;; ,,nptl) @@ -528,9 +520,6 @@ local tmp local arg - # If building for bare metal, nothing to be done here, the static core conpiler is enough! - [ "${CT_BARE_METAL}" = "y" ] && return 0 - CT_DoStep INFO "Installing final compiler" for arg in "$@"; do