aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDarin Morrison2013-08-24 13:01:59 -0600
committerMisty De Meo2013-08-24 14:27:14 -0700
commit6a897ae0183c33cdd51f08644a059281e535f433 (patch)
treed611f394793bfecc4ef147bf129defd89c977aac /Library/Formula
parentce39c3f37ce3bfea10e54aebd7df7c22a013ffcb (diff)
downloadhomebrew-6a897ae0183c33cdd51f08644a059281e535f433.tar.bz2
ghc: fix parallel make
Closes #22110. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ghc.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/ghc.rb b/Library/Formula/ghc.rb
index b3913dfa8..813515fab 100644
--- a/Library/Formula/ghc.rb
+++ b/Library/Formula/ghc.rb
@@ -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