From c96c33624d68b73b953fe131ff1af29100043571 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Mon, 23 Dec 2019 15:31:18 +0300 Subject: [PATCH] Ports: Build gcc with -j $(nproc) GCC is a huge project that takes a lot of time to build; let's at least make this a little less painful by using all the available CPU cores. --- Ports/gcc/package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ports/gcc/package.sh b/Ports/gcc/package.sh index dc9637759a..96779e24d6 100755 --- a/Ports/gcc/package.sh +++ b/Ports/gcc/package.sh @@ -4,7 +4,7 @@ version=9.2.0 useconfigure=true configopts="--target=i686-pc-serenity --with-sysroot=/ --with-build-sysroot=$SERENITY_ROOT/Root --with-newlib --enable-languages=c,c++ --disable-lto --disable-nls" files="https://ftp.gnu.org/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.xz gcc-9.2.0.tar.xz" -makeopts="all-gcc all-target-libgcc all-target-libstdc++-v3" +makeopts="all-gcc all-target-libgcc all-target-libstdc++-v3 -j $(nproc)" installopts="DESTDIR=$SERENITY_ROOT/Root install-gcc install-target-libgcc install-target-libstdc++-v3" depends="binutils"