summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
-rwxr-xr-xtools/test-build2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index fb87c3dd9..ccb551ce5 100755
--- a/configure
+++ b/configure
@@ -431,7 +431,7 @@ print_format <<"EOM";
<|GREEN Execution User:|> $config{USER} ($config{UID})
<|GREEN Socket Engine:|> $config{SOCKETENGINE}
-To build with these settings run '<|GREEN make -j${\get_cpu_count + 1} install|>' now.
+To build with these settings run '<|GREEN make -j${\(get_cpu_count() + 1)} install|>' now.
EOM
diff --git a/tools/test-build b/tools/test-build
index 516af0866..25981d4a6 100755
--- a/tools/test-build
+++ b/tools/test-build
@@ -64,7 +64,7 @@ foreach my $compiler (@compilers) {
say "Failed to configure using the $compiler compiler and the $socketengine socket engine!";
exit 1;
}
- if (execute 'make', '--jobs', get_cpu_count + 1, 'install') {
+ if (execute 'make', '--jobs', get_cpu_count() + 1, 'install') {
say "Failed to compile using the $compiler compiler and the $socketengine socket engine!";
exit 1;
}