From c5d9b2d6c14414b8933c2e7f60995ca7b01a2d05 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 15 Oct 2017 03:55:53 +0100 Subject: test-build: Pass the make jobs as a separate argument. The old way was only necessary when we supported BSD Make. --- tools/test-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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; } -- cgit v1.2.3