lzo 2.06 and remove asm disable
This commit updates lzo to version 2.06 and removes a configure flag that was forcing --disable-asm. The asm passes make check. The asm will automatically detect correctly if you are building for only 32bit (by forcing -arch i386). That option was not coded in, forcing 32bit, because 64bit is generally faster. The make check was left in because this is a compression lib, and we don't want data corruption. This compiles with llvm, gcc-4.2.1, and clang-2.0 on 32bit and 64bit OSX 10.6.8, and it passes all checks, which take less than a half-second. Closes Homebrew/homebrew#8128. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
f0a4e0e0ba
commit
0a01539263
1 changed files with 5 additions and 4 deletions
|
@ -2,14 +2,15 @@ require 'formula'
|
|||
|
||||
class Lzo < Formula
|
||||
homepage 'http://www.oberhumer.com/opensource/lzo/'
|
||||
url 'http://www.oberhumer.com/opensource/lzo/download/lzo-2.05.tar.gz'
|
||||
sha256 '449f98186d76ba252cd17ff1241ca2a96b7f62e0d3e4766f88730dab0ea5f333'
|
||||
url 'http://www.oberhumer.com/opensource/lzo/download/lzo-2.06.tar.gz'
|
||||
sha256 'ff79e6f836d62d3f86ef6ce893ed65d07e638ef4d3cb952963471b4234d43e73'
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--disable-asm",
|
||||
"--enable-shared=yes"
|
||||
"--enable-shared"
|
||||
system "make"
|
||||
system "make check"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue