It's actually uname -m lying.

This commit is contained in:
Konrad Borowski 2013-06-24 15:01:07 +02:00
parent 9f34278931
commit ab31e3165d

2
configure vendored
View file

@ -203,7 +203,7 @@ CFG_CPUTYPE=$(uname -m)
if [ $CFG_OSTYPE = Darwin -a $CFG_CPUTYPE = i386 ] if [ $CFG_OSTYPE = Darwin -a $CFG_CPUTYPE = i386 ]
then then
# Darwin's `uname -s` lies and always returns i386. We have to use sysctl # Darwin's `uname -m` lies and always returns i386. We have to use sysctl
# instead. # instead.
if sysctl hw.optional.x86_64 | grep -q ': 1' if sysctl hw.optional.x86_64 | grep -q ': 1'
then then