aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-23 11:15:45 -0700
committerAdam Vandenberg2013-06-23 11:16:12 -0700
commitbb84a5a6645229d147a34f25d12b6e96b4ce1da6 (patch)
tree5935f35571a9416337988ab47391e3cbbd009fc6 /Library/Formula
parent4ba2f65b6d922848b9e40f3172354e6d99a521cc (diff)
downloadhomebrew-bb84a5a6645229d147a34f25d12b6e96b4ce1da6.tar.bz2
gmp: fix 32-bit builds
Closes #20693.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gmp.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb
index 89e4561f5..42b98cebb 100644
--- a/Library/Formula/gmp.rb
+++ b/Library/Formula/gmp.rb
@@ -9,12 +9,16 @@ class Gmp < Formula
option '32-bit'
def install
+ args = ["--prefix=#{prefix}", "--enable-cxx"]
+
if build.build_32_bit?
ENV.m32
ENV.append 'ABI', '32'
+ # https://github.com/mxcl/homebrew/issues/20693
+ args << "--disable-assembly"
end
- system "./configure", "--prefix=#{prefix}", "--enable-cxx"
+ system "./configure", *args
system "make"
system "make check"
ENV.deparallelize