Skip to content

Commit a754dc0

Browse files
authored
Merge pull request #81 from TimWolla/bsd-make-jobs
Fix building with multiple jobs for BSDmake
2 parents 27a5b97 + b72a47c commit a754dc0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Building/UnixBuild.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ private function make(TargetPlatform $targetPlatform, DownloadedPackage $downloa
100100
if ($targetPlatform->makeParallelJobs === 1) {
101101
$output->writeln('Running make without parallelization - try providing -jN to PIE where N is the number of cores you have.');
102102
} else {
103-
$makeCommand[] = '--jobs';
104-
$makeCommand[] = (string) $targetPlatform->makeParallelJobs;
103+
$makeCommand[] = sprintf('-j%d', $targetPlatform->makeParallelJobs);
105104
}
106105

107106
return Process::run(

0 commit comments

Comments
 (0)