summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-02-19 23:36:34 +0100
committerRémi Verschelde <rverschelde@gmail.com>2018-02-19 23:36:34 +0100
commit3e6f2b7d9812b952f7af255a05bfb3fba1e1bf23 (patch)
tree218491825262cbc67eb67edd256f5912588d935d
parent42c5af5e48c1e74a53bb773d7068bf61953231a8 (diff)
Fix previous commit, "bits" still needed for buildsystem
-rw-r--r--platform/osx/detect.py5
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'])