summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlzubiaur <zubiaur.laurent@gmail.com>2019-02-12 08:32:26 +0900
committerlzubiaur <zubiaur.laurent@gmail.com>2019-02-12 08:32:26 +0900
commite0295d7cd4110dfcf16f80402043512bf20fd43c (patch)
tree7ab317c11eebb1e15b9870686ec43fd1249067ef
parent2a4e82b77ea69a3c6dc1ad8117f0019a5adf5cef (diff)
downloadredot-cpp-e0295d7cd4110dfcf16f80402043512bf20fd43c.tar.gz
Set default arch to 64bits for osx platform
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 3dd7239..b9b47c3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -57,7 +57,7 @@ if env['platform'] == 'windows':
opts.Update(env)
is64 = False
-if (env['TARGET_ARCH'] == 'amd64' or env['TARGET_ARCH'] == 'emt64' or env['TARGET_ARCH'] == 'x86_64'):
+if (env['platform'] == 'osx' or env['TARGET_ARCH'] == 'amd64' or env['TARGET_ARCH'] == 'emt64' or env['TARGET_ARCH'] == 'x86_64'):
is64 = True
if env['bits'] == 'default':
env['bits'] = '64' if is64 else '32'