build: Add -j to make install to speed compilation
This commit is contained in:
parent
e899d51568
commit
ecd1367c6d
@ -497,7 +497,7 @@ function install_gdb() {
|
|||||||
|
|
||||||
mkdir -p "$artifacts_location"
|
mkdir -p "$artifacts_location"
|
||||||
|
|
||||||
make -C "$gdb_build_dir" install "DESTDIR=$temp_artifacts_dir" 1>&2
|
make -j$(nproc) -C "$gdb_build_dir" install "DESTDIR=$temp_artifacts_dir" 1>&2
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
rm -rf "$temp_artifacts_dir"
|
rm -rf "$temp_artifacts_dir"
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user