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 Homebrew/homebrew#15533 Closes Homebrew/homebrew#15544. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
dc936e1463
commit
ab8d354701
1 changed files with 3 additions and 2 deletions
|
@ -29,9 +29,10 @@ class Mpich2 < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
args = [
|
args = [
|
||||||
|
"--disable-dependency-tracking",
|
||||||
|
"--disable-silent-rules",
|
||||||
"--prefix=#{prefix}",
|
"--prefix=#{prefix}",
|
||||||
"--mandir=#{man}",
|
"--mandir=#{man}"
|
||||||
"--enable-shared"
|
|
||||||
]
|
]
|
||||||
if ARGV.include? '--disable-fortran'
|
if ARGV.include? '--disable-fortran'
|
||||||
args << "--disable-f77" << "--disable-fc"
|
args << "--disable-f77" << "--disable-fc"
|
||||||
|
|
Loading…
Reference in a new issue