Default to 64-bit on 64-bit Intel Macs

db4
Slava Pestov 2008-09-20 15:53:18 -05:00
parent 0a8980d37e
commit 2bc3594a0f
1 changed files with 1 additions and 2 deletions

View File

@ -216,9 +216,8 @@ intel_macosx_word_size() {
$ECHO -n "Testing if your Intel Mac supports 64bit binaries..." $ECHO -n "Testing if your Intel Mac supports 64bit binaries..."
sysctl machdep.cpu.extfeatures | grep EM64T >/dev/null sysctl machdep.cpu.extfeatures | grep EM64T >/dev/null
if [[ $? -eq 0 ]] ; then if [[ $? -eq 0 ]] ; then
WORD=32 WORD=64
$ECHO "yes!" $ECHO "yes!"
$ECHO "Defaulting to 32bit for now though..."
else else
WORD=32 WORD=32
$ECHO "no." $ECHO "no."