ghc: fix parallel make
Closes Homebrew/homebrew#22110. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
parent
b3c211dd5e
commit
d8c99c46aa
1 changed files with 2 additions and 4 deletions
|
@ -60,8 +60,7 @@ class Ghc < Formula
|
|||
args << "--with-gcc=#{ENV.cc}" if ENV.compiler == :gcc
|
||||
|
||||
system "./configure", *args
|
||||
ENV.j1 # Fixes an intermittent race condition
|
||||
system 'make install'
|
||||
system 'make -j1 install' # -j1 fixes an intermittent race condition
|
||||
ENV.prepend 'PATH', subprefix/'bin', ':'
|
||||
end
|
||||
|
||||
|
@ -96,8 +95,7 @@ class Ghc < Formula
|
|||
end
|
||||
end
|
||||
system 'make'
|
||||
ENV.j1 # Fixes an intermittent race condition
|
||||
system 'make install'
|
||||
system 'make -j1 install' # -j1 fixes an intermittent race condition
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue