Skip to content

Commit

Permalink
Merge pull request #235 from lzubiaur/fix-osx-arch
Browse files Browse the repository at this point in the history
Set default arch to 64bits for osx platform
  • Loading branch information
BastiaanOlij authored Apr 7, 2019
2 parents 05e5f5c + e0295d7 commit c714f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c714f99

Please sign in to comment.