From ee496b6e2f6aeb13a4c18730d457c5ef2a73896e Mon Sep 17 00:00:00 2001
From: Mike McQuaid
Date: Wed, 17 Jul 2013 15:24:41 -0700
Subject: boost: disable coroutine for non-x86_64 builds.
Coroutine depends on context which is also disabled in this case.
Closes #21225.
---
Library/Formula/boost.rb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
(limited to 'Library')
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.
--
cgit v1.2.3
>
blob: 4d3f9461e8de72e056a36b9a339d0a7d334f5def (
plain)