From bcb64c7726d6bbf2381e9fc69d994d208f1d659a Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Fri, 19 Oct 2012 01:10:00 -0700 Subject: mpich2: only build static to fix ld seg fault On Mountain Lion at least, ld keeps doing a sefault 11 during the final link phase independent of whether superenv is used. Mpich2 will build without problems when we - Remove the `--enable-shared` Fixes #15533 Closes #15544. Signed-off-by: Adam Vandenberg --- Library/Formula/mpich2.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/mpich2.rb b/Library/Formula/mpich2.rb index eb18eb1ab..b1cae4e48 100644 --- a/Library/Formula/mpich2.rb +++ b/Library/Formula/mpich2.rb @@ -29,9 +29,10 @@ class Mpich2 < Formula end args = [ + "--disable-dependency-tracking", + "--disable-silent-rules", "--prefix=#{prefix}", - "--mandir=#{man}", - "--enable-shared" + "--mandir=#{man}" ] if ARGV.include? '--disable-fortran' args << "--disable-f77" << "--disable-fc" -- cgit v1.2.3