aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/objective-caml.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-11-08 09:13:16 -0800
committerAdam Vandenberg2010-11-08 09:13:16 -0800
commit86abea8d5a5c781e236b27251aa202a848ef6aa1 (patch)
treeb74a564343b4f5054cd5ecbb56b57bb890405b27 /Library/Formula/objective-caml.rb
parente49dcd89e6b96fd870ced1ac2e28be7604bfb415 (diff)
downloadhomebrew-86abea8d5a5c781e236b27251aa202a848ef6aa1.tar.bz2
Tweak o-caml
Diffstat (limited to 'Library/Formula/objective-caml.rb')
-rw-r--r--Library/Formula/objective-caml.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/objective-caml.rb b/Library/Formula/objective-caml.rb
index 7ddd7da34..b237fa159 100644
--- a/Library/Formula/objective-caml.rb
+++ b/Library/Formula/objective-caml.rb
@@ -5,15 +5,13 @@ class ObjectiveCaml <Formula
homepage 'http://caml.inria.fr/ocaml/index.en.html'
md5 'bd92c8970767f412bc1e9a6c625b5ccf'
- # note it indeed seems necessary to skip cleaning everything
- # see http://github.com/mxcl/homebrew/issues/issue/188
+ # Don't strip symbols, so dynamic linking doesn't break.
skip_clean :all
def install
system "./configure", "--prefix", prefix, "--mandir", man
+ ENV.deparallelize # Builds are not parallel-safe, esp. with many cores
system "make world"
- # 'world' can be built in parallel, but the other targets have problems
- ENV.deparallelize
system "make opt"
system "make opt.opt"
system "make install"