aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/boost.rb5
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}",