From 4f1ee3d01c7a390139db8c3230caeef0d7abbea4 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sun, 5 May 2013 15:23:04 -0500 Subject: boost: disable context on unsupported archs Fixes #17646. --- Library/Formula/boost.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Formula') 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}", -- cgit v1.2.3