From e0295d7cd4110dfcf16f80402043512bf20fd43c Mon Sep 17 00:00:00 2001 From: lzubiaur Date: Tue, 12 Feb 2019 08:32:26 +0900 Subject: [PATCH] Set default arch to 64bits for osx platform --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'