pixman: disable MMX on 10.11.

Closes Homebrew/homebrew#41075.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Shane Burrell 2015-06-25 09:56:57 -04:00 committed by Mike McQuaid
parent b78bfa690c
commit 89d37f73d4

View file

@ -32,10 +32,14 @@ class Pixman < Formula
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}",
"--disable-gtk"
args = %W[--disable-dependency-tracking
--disable-gtk
--disable-silent-rules
--prefix=#{prefix}]
args << "--disable-mmx" if MacOS.version >= :el_capitan
system "./configure", *args
system "make", "install"
end
end