Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Committing Rolf's mute button :-p

  • Loading branch information...
commit 65c752902537cd0b28fd53e2313d48e68f1f11a5 1 parent 70302f9
@wayneeseguin wayneeseguin authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 scripts/utility
View
6 scripts/utility
@@ -656,7 +656,7 @@ __rvm_make_flags() {
PATH=${rvm_path}/usr/bin:$PATH ; export PATH
# This is only an issue with Darwin :/
if [[ "Darwin" = "$(uname)" ]] ; then
- # ls /usr/lib/gcc/i686-apple-darwin10
+ # ls /usr/lib/gcc/x86_64-apple-darwin10
# Set the build & host type
if [[ "Power Macintosh" = "$(sysctl hw.machine | awk -F: '{print $2}' | sed 's/^ //')" ]] ; then
@@ -664,12 +664,12 @@ __rvm_make_flags() {
elif [[ $(sysctl hw.cpu64bit_capable | awk '{print $2}') = 1 ]] ; then # we could also use: sysctl hw.optional.x86_64
# 64 bit capable
if [[ "-arch x86_64" = "$rvm_archflags" ]] ; then
- rvm_ruby_configure_flags="${rvm_ruby_configure_flags} --build=i686-apple-darwin$(uname -r) --host=i686-apple-darwin$(uname -r)"
+ rvm_ruby_configure_flags="${rvm_ruby_configure_flags} --build=x86_64-apple-darwin$(uname -r) --host=x86_64-apple-darwin$(uname -r)"
elif [[ "-arch i386" = "$rvm_archflags" ]] ; then
rvm_ruby_configure_flags="${rvm_ruby_configure_flags} --build=i386-apple-darwin$(uname -r) --host=i386-apple-darwin$(uname -r)"
else
rvm_archflags="-arch x86_64"
- rvm_ruby_configure_flags="${rvm_ruby_configure_flags} --build=i686-apple-darwin$(uname -r) --host=i686-apple-darwin$(uname -r)"
+ rvm_ruby_configure_flags="${rvm_ruby_configure_flags} --build=x86_64-apple-darwin$(uname -r) --host=x86_64-apple-darwin$(uname -r)"
fi
else
# 32 bit capable only
Please sign in to comment.
Something went wrong with that request. Please try again.