mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 22:52:23 +00:00
Do al ittle bit more jobs in parallel while building gcc.
/trunk/scripts/build/cc_gcc.sh | 10 5 5 0 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
This commit is contained in:
parent
07b61b6f68
commit
0f8a47d75c
@ -163,21 +163,21 @@ do_cc_core_shared() {
|
||||
# So much easier if we just edit the source tree, but hey...
|
||||
if [ ! -f "${CT_SRC_DIR}/${CT_CC_FILE}/gcc/BASE-VER" ]; then
|
||||
make configure-libiberty
|
||||
make -C libiberty libiberty.a
|
||||
make ${PARALLELMFLAGS} -C libiberty libiberty.a
|
||||
make configure-gcc
|
||||
make configure-libcpp
|
||||
make all-libcpp
|
||||
make ${PARALLELMFLAGS} all-libcpp
|
||||
else
|
||||
make configure-gcc
|
||||
make configure-libcpp
|
||||
make configure-build-libiberty
|
||||
make all-libcpp
|
||||
make all-build-libiberty
|
||||
make ${PARALLELMFLAGS} all-libcpp
|
||||
make ${PARALLELMFLAGS} all-build-libiberty
|
||||
fi 2>&1 |CT_DoLog ALL
|
||||
# HACK: gcc-4.2 uses libdecnumber to build libgcc.mk, so build it here.
|
||||
if [ -d "${CT_SRC_DIR}/${CT_CC_FILE}/libdecnumber" ]; then
|
||||
make configure-libdecnumber
|
||||
make -C libdecnumber libdecnumber.a
|
||||
make ${PARALLELMFLAGS} -C libdecnumber libdecnumber.a
|
||||
fi 2>&1 |CT_DoLog ALL
|
||||
make -C gcc libgcc.mk 2>&1 |CT_DoLog ALL
|
||||
sed -r -i -e 's@-lc@@g' gcc/libgcc.mk
|
||||
|
Loading…
Reference in New Issue
Block a user