diff options
| author | Mike McQuaid | 2013-07-17 15:24:41 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2013-07-17 15:24:41 -0700 |
| commit | ee496b6e2f6aeb13a4c18730d457c5ef2a73896e (patch) | |
| tree | c5c00d48cb45ce5e5e7d487ed98a7f4eeb014619 /Library/Formula | |
| parent | d16f2ab6ed82703fbc8d075df51903442035eb5c (diff) | |
| download | homebrew-ee496b6e2f6aeb13a4c18730d457c5ef2a73896e.tar.bz2 | |
boost: disable coroutine for non-x86_64 builds.
Coroutine depends on context which is also disabled in this case.
Closes #21225.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/boost.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/boost.rb b/Library/Formula/boost.rb index 5c44f5250..71e26a7ce 100644 --- a/Library/Formula/boost.rb +++ b/Library/Formula/boost.rb @@ -103,7 +103,11 @@ class Boost < Formula # 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? + if Hardware::CPU.type == :ppc || Hardware::CPU.bits == 32 || build.universal? + bargs << "--without-libraries=context" + # The coroutine library depends on the context library. + bargs << "--without-libraries=coroutine" + end # Boost.Log cannot be built using Apple GCC at the moment. Disabled # on such systems. |
