Permalink
Browse files

Committing Rolf's mute button :-p

  • Loading branch information...
wayneeseguin committed Dec 4, 2009
1 parent 70302f9 commit 65c752902537cd0b28fd53e2313d48e68f1f11a5
Showing with 3 additions and 3 deletions.
  1. +3 −3 scripts/utility
View
@@ -656,20 +656,20 @@ __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
: # Do nothing ?
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

0 comments on commit 65c7529

Please sign in to comment.