scripts/build/cc/gcc.sh
branch1.13
changeset 2729 adc12224e93c
parent 2550 1ebc2248cc60
child 2765 6c5658b8b588
child 2841 64fe22ca6e6f
     1.1 --- a/scripts/build/cc/gcc.sh	Tue Jul 12 23:52:24 2011 +0200
     1.2 +++ b/scripts/build/cc/gcc.sh	Mon Oct 24 22:06:36 2011 +0200
     1.3 @@ -327,17 +327,17 @@
     1.4          # Next we have to configure gcc, create libgcc.mk then edit it...
     1.5          # So much easier if we just edit the source tree, but hey...
     1.6          if [ ! -f "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/gcc/BASE-VER" ]; then
     1.7 -            CT_DoExecLog CFG make configure-libiberty
     1.8 +            CT_DoExecLog CFG make ${JOBSFLAGS} configure-libiberty
     1.9              CT_DoExecLog ALL make ${JOBSFLAGS} -C libiberty libiberty.a
    1.10 -            CT_DoExecLog CFG make configure-gcc configure-libcpp
    1.11 +            CT_DoExecLog CFG make ${JOBSFLAGS} configure-gcc configure-libcpp
    1.12              CT_DoExecLog ALL make ${JOBSFLAGS} all-libcpp
    1.13          else
    1.14 -            CT_DoExecLog CFG make configure-gcc configure-libcpp configure-build-libiberty
    1.15 +            CT_DoExecLog CFG make ${JOBSFLAGS} configure-gcc configure-libcpp configure-build-libiberty
    1.16              CT_DoExecLog ALL make ${JOBSFLAGS} all-libcpp all-build-libiberty
    1.17          fi
    1.18          # HACK: gcc-4.2 uses libdecnumber to build libgcc.mk, so build it here.
    1.19          if [ -d "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/libdecnumber" ]; then
    1.20 -            CT_DoExecLog CFG make configure-libdecnumber
    1.21 +            CT_DoExecLog CFG make ${JOBSFLAGS} configure-libdecnumber
    1.22              CT_DoExecLog ALL make ${JOBSFLAGS} -C libdecnumber libdecnumber.a
    1.23          fi
    1.24  
    1.25 @@ -379,7 +379,7 @@
    1.26      CT_DoExecLog ALL make ${JOBSFLAGS} "${core_targets[@]/#/all-}"
    1.27  
    1.28      CT_DoLog EXTRA "Installing ${mode} core C compiler"
    1.29 -    CT_DoExecLog ALL make "${core_targets[@]/#/install-}"
    1.30 +    CT_DoExecLog ALL make ${JOBSFLAGS} "${core_targets[@]/#/install-}"
    1.31  
    1.32      # Create a symlink ${CT_TARGET}-cc to ${CT_TARGET}-gcc to always be able
    1.33      # to call the C compiler with the same, somewhat canonical name.
    1.34 @@ -623,7 +623,7 @@
    1.35      CT_DoExecLog ALL make ${JOBSFLAGS} all
    1.36  
    1.37      CT_DoLog EXTRA "Installing final compiler"
    1.38 -    CT_DoExecLog ALL make install
    1.39 +    CT_DoExecLog ALL make ${JOBSFLAGS} install
    1.40  
    1.41      # Create a symlink ${CT_TARGET}-cc to ${CT_TARGET}-gcc to always be able
    1.42      # to call the C compiler with the same, somewhat canonical name.