parent
6152fcbdd5
commit
2bcf34617c
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue