diff options
| author | Adam Vandenberg | 2013-06-23 11:15:45 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-23 11:16:12 -0700 |
| commit | bb84a5a6645229d147a34f25d12b6e96b4ce1da6 (patch) | |
| tree | 5935f35571a9416337988ab47391e3cbbd009fc6 /Library/Formula | |
| parent | 4ba2f65b6d922848b9e40f3172354e6d99a521cc (diff) | |
| download | homebrew-bb84a5a6645229d147a34f25d12b6e96b4ce1da6.tar.bz2 | |
gmp: fix 32-bit builds
Closes #20693.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gmp.rb | 6 |
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 |
