summaryrefslogtreecommitdiff
path: root/6-build-gcc-stage-2.sh
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2022-05-17 08:58:51 +0300
committerOxore <oxore@protonmail.com>2022-05-17 08:58:51 +0300
commitb875d19191f659f88b8c43a7f08bf6df740b07c7 (patch)
treebd892e4a94fd25c3db850646568e819a94d7ca9e /6-build-gcc-stage-2.sh
parent4ee9cc06c66711d8976065a8d9633023ff509c5e (diff)
Add jobs common variable
Diffstat (limited to '6-build-gcc-stage-2.sh')
-rw-r--r--6-build-gcc-stage-2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/6-build-gcc-stage-2.sh b/6-build-gcc-stage-2.sh
index 15e5e3c..3c39d46 100644
--- a/6-build-gcc-stage-2.sh
+++ b/6-build-gcc-stage-2.sh
@@ -9,7 +9,7 @@ echo "Configuring gcc-${gcc_ver} (stage 2)"
../../unpacked/gcc-$gcc_ver/configure --prefix=$prefix_dir --target=$target --enable-languages=c,c++ >configure-stage-2.log 2>&1
if [ ! $? ]; then less configure-stage-2.log; exit; fi
echo "Building gcc-$gcc_ver (stage 2)"
-make -j10 all-gcc >build-stage-2.log 2>&1
+make -j$jobs all-gcc >build-stage-2.log 2>&1
if [ ! $? ]; then less build-stage-2.log; exit; fi
echo "Installing gcc-$gcc_ver (stage 2)"
make install-gcc >install-stage-2.log 2>&1