summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-10-15 03:55:53 +0100
committerPeter Powell <petpow@saberuk.com>2017-10-15 03:55:53 +0100
commitc5d9b2d6c14414b8933c2e7f60995ca7b01a2d05 (patch)
tree78cdca8a39f687d6efaa3736697a9783d7db3a01
parent94e307757fdafe7b6db1cffcf10e8134977fbf34 (diff)
test-build: Pass the make jobs as a separate argument.
The old way was only necessary when we supported BSD Make.
-rwxr-xr-xtools/test-build4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test-build b/tools/test-build
index 2b9ee4ee2..eb77a2bcf 100755
--- a/tools/test-build
+++ b/tools/test-build
@@ -61,14 +61,14 @@ foreach my $compiler (@compilers) {
}
if (!defined $ENV{TEST_BUILD_DYNAMIC}) {
$ENV{INSPIRCD_STATIC} = 1;
- if (system 'make', '-j'.get_cpu_count, 'install') {
+ if (system 'make', '--jobs', get_cpu_count, 'install') {
say "Failed to compile with static modules using the $compiler compiler and the $socketengine socket engine!";
exit 1;
}
}
if (!defined $ENV{TEST_BUILD_STATIC}) {
delete $ENV{INSPIRCD_STATIC};
- if (system 'make', '-j'.get_cpu_count, 'install') {
+ if (system 'make', '--jobs', get_cpu_count, 'install') {
say "Failed to compile with dynamic modules using the $compiler compiler and the $socketengine socket engine!";
exit 1;
}