diff options
| author | Misty De Meo | 2013-05-05 15:23:04 -0500 |
|---|---|---|
| committer | Misty De Meo | 2013-05-05 15:26:01 -0500 |
| commit | 4f1ee3d01c7a390139db8c3230caeef0d7abbea4 (patch) | |
| tree | 23e5408e5b7f5cab2e64f7faa45b75f4ae5c0e0f /Library | |
| parent | 49c27977fa47c5238ec0dd40c64baab38137ed01 (diff) | |
| download | homebrew-4f1ee3d01c7a390139db8c3230caeef0d7abbea4.tar.bz2 | |
boost: disable context on unsupported archs
Fixes #17646.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/boost.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb index 04ceaadbd..a14e05470 100644 --- a/Library/Formula/boost.rb +++ b/Library/Formula/boost.rb @@ -80,6 +80,11 @@ class Boost < Formula bargs << '--without-icu' end + # The context library is implemented as x86_64 ASM, so it + # won't build on PPC or 32-bit builds + # see https://github.com/mxcl/homebrew/issues/17646 + bargs << "--without-libraries=context" if Hardware::CPU.type == :ppc || Hardware::CPU.bits == 32 || build.universal? + boost_layout = (build.include? "use-system-layout") ? "system" : "tagged" args = ["--prefix=#{prefix}", "--libdir=#{lib}", |
