Skip to content

Commit

Permalink
gmp: tweak if, use sha256.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Apr 1, 2015
1 parent 8400357 commit 4c50aa0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Library/Formula/gmp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -25,10 +25,8 @@ def install
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"
Expand Down

0 comments on commit 4c50aa0

Please sign in to comment.