aboutsummaryrefslogtreecommitdiffstats
path: root/gcov.sh
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-02-27 23:54:35 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-02-29 08:52:25 -0300
commit93a5d7a2f5f8771f79ae89936a74ca45bfe48660 (patch)
tree3f27a26666ad57c702636e577f08aaa1b2dbd23f /gcov.sh
parentbuild: format gcov.sh (diff)
downloadfirejail-93a5d7a2f5f8771f79ae89936a74ca45bfe48660.tar.gz
firejail-93a5d7a2f5f8771f79ae89936a74ca45bfe48660.tar.zst
firejail-93a5d7a2f5f8771f79ae89936a74ca45bfe48660.zip
build: standardize parallel make arguments
Currently the number of make jobs used for the default build target are hardcoded and the value used varies across files. For consistency (and potentially better performance), use `make -j "$(nproc)"` everywhere that `make -j` is currently used. Kind of relates to commit 500d8f2d6 ("ci: run make in parallel where applicable", 2023-08-14) / PR #5960.
Diffstat (limited to 'gcov.sh')
-rwxr-xr-xgcov.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcov.sh b/gcov.sh
index 9c4478b1c..db508723b 100755
--- a/gcov.sh
+++ b/gcov.sh
@@ -23,7 +23,7 @@ gcov_generate() {
23make distclean && 23make distclean &&
24./configure --prefix=/usr --enable-fatal-warnings \ 24./configure --prefix=/usr --enable-fatal-warnings \
25 --enable-apparmor --enable-gcov && 25 --enable-apparmor --enable-gcov &&
26make -j4 && 26make -j "$(nproc)" &&
27sudo make install 27sudo make install
28 28
29rm -fr gcov-dir gcov-file 29rm -fr gcov-dir gcov-file