summaryrefslogtreecommitdiff
path: root/tools/test-build
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test-build')
-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;
}