浏览代码

Fix previous commit, "bits" still needed for buildsystem

Rémi Verschelde 7 年之前
父节点
当前提交
3e6f2b7d98
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      platform/osx/detect.py

+ 4 - 1
platform/osx/detect.py

@@ -55,10 +55,13 @@ def configure(env):
     elif (env["target"] == "debug"):
     elif (env["target"] == "debug"):
         env.Prepend(CCFLAGS=['-g3', '-DDEBUG_ENABLED', '-DDEBUG_MEMORY_ENABLED'])
         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
     # Mac OS X no longer runs on 32-bit since 10.7 which is unsupported since 2014
     # As such, we only support 64-bit
     # As such, we only support 64-bit
+    env["bits"] = 64
+
+    ## Compiler configuration
 
 
     if "OSXCROSS_ROOT" not in os.environ: # regular native build
     if "OSXCROSS_ROOT" not in os.environ: # regular native build
         env.Append(CCFLAGS=['-arch', 'x86_64'])
         env.Append(CCFLAGS=['-arch', 'x86_64'])