diff options
Diffstat (limited to 'platform/osx/detect.py')
-rw-r--r-- | platform/osx/detect.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/osx/detect.py b/platform/osx/detect.py index 33faea0082..6a9fd6b134 100644 --- a/platform/osx/detect.py +++ b/platform/osx/detect.py @@ -55,10 +55,13 @@ def configure(env): elif (env["target"] == "debug"): env.Prepend(CCFLAGS=['-g3', '-DDEBUG_ENABLED', '-DDEBUG_MEMORY_ENABLED']) - ## Compiler configuration + ## Architecture # Mac OS X no longer runs on 32-bit since 10.7 which is unsupported since 2014 # As such, we only support 64-bit + env["bits"] = 64 + + ## Compiler configuration if "OSXCROSS_ROOT" not in os.environ: # regular native build env.Append(CCFLAGS=['-arch', 'x86_64']) |