aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sbcl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/sbcl.rb')
-rw-r--r--Library/Formula/sbcl.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/sbcl.rb b/Library/Formula/sbcl.rb
index e09ddf06a..bac0c5354 100644
--- a/Library/Formula/sbcl.rb
+++ b/Library/Formula/sbcl.rb
@@ -22,7 +22,7 @@ class Sbcl < Formula
["--without-threads", "Build SBCL without support for native threads"],
["--with-ldb", "Include low-level debugger in the build"],
["--with-internal-xref", "Include XREF information for SBCL internals (increases core size by 5-6MB)"],
- ["--32bit", "Override arch detection and compile for 32-bits."]
+ ["--32-bit", "Build 32-bit only."]
]
end
@@ -69,7 +69,7 @@ class Sbcl < Formula
Dir.chdir(build_directory)
- if ARGV.include? "--32bit"
+ if ARGV.build_32_bit?
system "SBCL_ARCH=x86 ./make.sh --prefix='#{prefix}' --xc-host='#{xc_cmdline}'"
else
system "./make.sh --prefix='#{prefix}' --xc-host='#{xc_cmdline}'"