diff options
| author | Dave Goodell | 2012-11-28 18:05:59 -0600 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-12-01 11:31:51 -0800 |
| commit | c85821ce2814b21254642ed35b0d50553bdedddf (patch) | |
| tree | 4cf9ae0f92c99d2722bbd1b253b9c304e7fe3da0 /Library/Formula/patchutils.rb | |
| parent | c530ebe06cb106f48dd9b8bc15cf740ee5cfdd87 (diff) | |
| download | homebrew-c85821ce2814b21254642ed35b0d50553bdedddf.tar.bz2 | |
mpich2: Add option to re-enable shared libs
MPICH2 fails to build with clang because of a clang (and/or ld) bug with
Xcode 4.5.1. Issue originally reported to homebrew in #15533, "fixed"
by disabling shared libraries altogether in bcb64c7.
- Add an `--enable-shared` option
- Add a `fails_with :clang` when building shared libs
- Upstream is aware of the issue, but has no workaround besides using
`llvm-gcc` when building shared libs
- MacPorts is using a similar workaround at this time.
- Tested on 10.7.5 with Xcode 4.5.2 with and without `--enable-shared`
Closes #16299.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/patchutils.rb')
0 files changed, 0 insertions, 0 deletions
