aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gmp.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-01-01 13:48:30 -0800
committerAdam Vandenberg2012-01-02 14:53:36 -0800
commit4fb16996f9f800a32c7b43c3f965b1d7f5475042 (patch)
treee583c97a321cc4b15b04fc83c9ddb1d016f7d33c /Library/Formula/gmp.rb
parent0401df33b231315004a7a85220de061e4082230b (diff)
downloadhomebrew-4fb16996f9f800a32c7b43c3f965b1d7f5475042.tar.bz2
Standardize 32 bit build switch
Diffstat (limited to 'Library/Formula/gmp.rb')
-rw-r--r--Library/Formula/gmp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb
index b8db0da49..bedb87f1c 100644
--- a/Library/Formula/gmp.rb
+++ b/Library/Formula/gmp.rb
@@ -8,7 +8,7 @@ class Gmp < Formula
def options
[
- ["--32-bit", "Force 32-bit."],
+ ["--32-bit", "Build 32-bit only."],
["--skip-check", "Do not run 'make check' to verify libraries."]
]
end
@@ -32,7 +32,7 @@ class Gmp < Formula
# Build 32-bit where appropriate, and help configure find 64-bit CPUs
# see: http://gmplib.org/macos.html
- if MacOS.prefer_64_bit? and not ARGV.include? "--32-bit"
+ if MacOS.prefer_64_bit? and not ARGV.build_32_bit?
ENV.m64
args << "--build=x86_64-apple-darwin"
else