From ca7b5e85acb70603e19feedcc327e9f5919f984c Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 1 Apr 2015 11:20:03 +0100 Subject: [PATCH] gmp: tweak if, use sha256. --- Formula/gmp.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Formula/gmp.rb b/Formula/gmp.rb index 0f66fb802e..86d36d2daa 100644 --- a/Formula/gmp.rb +++ b/Formula/gmp.rb @@ -3,7 +3,7 @@ class Gmp < Formula url "http://ftpmirror.gnu.org/gmp/gmp-6.0.0a.tar.bz2" mirror "ftp://ftp.gmplib.org/pub/gmp/gmp-6.0.0a.tar.bz2" mirror "https://ftp.gnu.org/gnu/gmp/gmp-6.0.0a.tar.bz2" - sha1 "360802e3541a3da08ab4b55268c80f799939fddc" + sha256 "7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf" bottle do cellar :any @@ -25,10 +25,8 @@ class Gmp < Formula args << "ABI=32" end - if build.build_32_bit? || build.bottle? - # https://github.com/Homebrew/homebrew/issues/20693 - args << "--disable-assembly" - end + # https://github.com/Homebrew/homebrew/issues/20693 + args << "--disable-assembly" if build.build_32_bit? || build.bottle? system "./configure", *args system "make"