mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
auto merge of #537 : GlitchMr/servo/darwin-uname-m, r=metajack
I know that this is very small commit, but I guess it still counts, as comment simply lies.
This commit is contained in:
commit
6df102a117
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue