Merge pull request #235 from lzubiaur/fix-osx-arch

Set default arch to 64bits for osx platform
pull/259/head
Bastiaan Olij 2019-04-07 15:48:22 +10:00 committed by GitHub
commit c714f99376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ if env['platform'] == 'windows':
opts.Update(env) opts.Update(env)
is64 = False 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 is64 = True
if env['bits'] == 'default': if env['bits'] == 'default':
env['bits'] = '64' if is64 else '32' env['bits'] = '64' if is64 else '32'