pixman: disable MMX on 10.11.
Closes Homebrew/homebrew#41075. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
b78bfa690c
commit
89d37f73d4
1 changed files with 8 additions and 4 deletions
|
@ -32,10 +32,14 @@ class Pixman < Formula
|
||||||
def install
|
def install
|
||||||
ENV.universal_binary if build.universal?
|
ENV.universal_binary if build.universal?
|
||||||
|
|
||||||
system "./configure", "--disable-dependency-tracking",
|
args = %W[--disable-dependency-tracking
|
||||||
"--disable-silent-rules",
|
--disable-gtk
|
||||||
"--prefix=#{prefix}",
|
--disable-silent-rules
|
||||||
"--disable-gtk"
|
--prefix=#{prefix}]
|
||||||
|
|
||||||
|
args << "--disable-mmx" if MacOS.version >= :el_capitan
|
||||||
|
|
||||||
|
system "./configure", *args
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue