Browse Source

Set default arch to 64bits for osx platform

lzubiaur 6 years ago
parent
commit
e0295d7cd4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SConstruct

+ 1 - 1
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'