aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-04-01 11:20:03 +0100
committerMike McQuaid2015-04-01 11:26:20 +0100
commit4c50aa05913fcc5458921f5262d6f766cd5d7aee (patch)
tree092d7661e5413bfb220a22f3141334d7275ed23e /Library
parent840035772225b10efb7a7830b40ca4ff0e09510e (diff)
downloadhomebrew-4c50aa05913fcc5458921f5262d6f766cd5d7aee.tar.bz2
gmp: tweak if, use sha256.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gmp.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb
index 0f66fb802..86d36d2da 100644
--- a/Library/Formula/gmp.rb
+++ b/Library/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"