aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authornibbles 2bits2012-10-19 01:10:00 -0700
committerAdam Vandenberg2012-10-20 08:24:03 -0700
commitbcb64c7726d6bbf2381e9fc69d994d208f1d659a (patch)
tree09dc365e3fbd3191416ed38db529e4fe8797fc2f /Library/Formula
parent233e211d9ff6d4204ed200c7ccd6d59f8dab6850 (diff)
downloadhomebrew-bcb64c7726d6bbf2381e9fc69d994d208f1d659a.tar.bz2
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 <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mpich2.rb5
1 files changed, 3 insertions, 2 deletions
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"