aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/initial/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-02-09 13:35:07 +0100
committerFelix Fietkau <nbd@nbd.name>2017-02-09 14:49:34 +0100
commit0f5d17a7e6acceb18867fd951b231bfb6c4d8946 (patch)
tree5d044ca7efc1e33bb32fd3457cb69940ef3c7dca /toolchain/gcc/initial/Makefile
parent43332f513baf35e2bcd3285d7c93d592001943f6 (diff)
downloadupstream-0f5d17a7e6acceb18867fd951b231bfb6c4d8946.tar.gz
upstream-0f5d17a7e6acceb18867fd951b231bfb6c4d8946.tar.bz2
upstream-0f5d17a7e6acceb18867fd951b231bfb6c4d8946.zip
toolchain/gcc: parallelize make install
If the staging dir was deleted, the build needs to recompile some files. This change speeds up this corner case significantly Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'toolchain/gcc/initial/Makefile')
-rw-r--r--toolchain/gcc/initial/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/gcc/initial/Makefile b/toolchain/gcc/initial/Makefile
index 1ed548436e..c71b17dd87 100644
--- a/toolchain/gcc/initial/Makefile
+++ b/toolchain/gcc/initial/Makefile
@@ -18,7 +18,7 @@ define Host/Compile
endef
define Host/Install
- $(GCC_MAKE) -C $(GCC_BUILD_DIR) \
+ +$(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) \
prefix="$(TOOLCHAIN_DIR)/initial" \
install-gcc \
install-target-libgcc