Browse Source

Fix previous commit, "bits" still needed for buildsystem

Rémi Verschelde 7 years ago
parent
commit
3e6f2b7d98
1 changed files with 4 additions and 1 deletions
  1. 4 1
      platform/osx/detect.py

+ 4 - 1
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'])