libressl: disable asm on 10.6 and below

Ref: https://github.com/libressl-portable/portable/issues/121

Closes Homebrew/homebrew#43013.
This commit is contained in:
Dominyk Tiller 2015-08-17 06:42:36 +01:00
parent 5b1502a4fd
commit e1d48d13f4

View file

@ -12,6 +12,7 @@ class Libressl < Formula
head do
url "https://github.com/libressl-portable/portable.git"
depends_on "automake" => :build
depends_on "autoconf" => :build
depends_on "libtool" => :build
@ -28,6 +29,9 @@ class Libressl < Formula
--sysconfdir=#{etc}/libressl
]
# https://github.com/libressl-portable/portable/issues/121
args << "--disable-asm" if MacOS.version <= :snow_leopard
system "./autogen.sh" if build.head?
system "./configure", *args
system "make"