| Index: scripts/slave/recipe_modules/platform/api.py
|
| diff --git a/scripts/slave/recipe_modules/platform/api.py b/scripts/slave/recipe_modules/platform/api.py
|
| index f971208422c122a0ca236b6c44bf32cff4601717..7d078bcb91b8e4829fbd96c7474e094f8228b548 100644
|
| --- a/scripts/slave/recipe_modules/platform/api.py
|
| +++ b/scripts/slave/recipe_modules/platform/api.py
|
| @@ -53,6 +53,12 @@ class PlatformApi(recipe_api.RecipeApi):
|
| self._bits == 64 and
|
| platform.architecture()[0] == '32bit'):
|
| self._bits = 32
|
| + # On Mac, the inverse of the above is true: the kernel is 32-bit but the
|
| + # CPU and userspace both are capable of running 64-bit programs.
|
| + elif (self._name == 'mac' and
|
| + self._bits == 32 and
|
| + platform.architecture()[0] == '64bit'):
|
| + self._bits = 64
|
|
|
| @property
|
| @recipe_api.non_step
|
|
|