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.
This commit is contained in:
Sergey Bugaev 2019-12-23 15:31:18 +03:00 committed by Andreas Kling
parent fdbdbcd775
commit c96c33624d

View file

@ -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"