mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 06:06:48 +00:00
makeall: Like BuildIt, respect MAKEJOBS
This commit is contained in:
parent
f9515d56e7
commit
c6bc23a748
Notes:
sideshowbarker
2024-07-19 14:08:18 +09:00
Author: https://github.com/rburchell
Commit: c6bc23a748
Pull-request: https://github.com/SerenityOS/serenity/pull/38
Reviewed-by: https://github.com/awesomekling
1 changed files with 5 additions and 1 deletions
|
@ -2,7 +2,11 @@
|
|||
|
||||
sudo id
|
||||
|
||||
make_cmd="make -j3"
|
||||
if [ -z "$MAKEJOBS" ]; then
|
||||
MAKEJOBS=$(nproc)
|
||||
fi
|
||||
|
||||
make_cmd="make -j $MAKEJOBS"
|
||||
|
||||
$make_cmd -C ../LibC clean && \
|
||||
$make_cmd -C ../LibC && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue