| Index: site_scons/site_tools/naclsdk.py
|
| diff --git a/site_scons/site_tools/naclsdk.py b/site_scons/site_tools/naclsdk.py
|
| index 622b5f466e9a409bbb6316fa8e2b314265dd2da9..889e20df399d8e5483f0b1b1ac8b7ee6c6a37126 100755
|
| --- a/site_scons/site_tools/naclsdk.py
|
| +++ b/site_scons/site_tools/naclsdk.py
|
| @@ -241,6 +241,8 @@ def _SetEnvForPnacl(env, root):
|
| arch = env['TARGET_FULLARCH']
|
| assert arch in ['arm', 'arm-thumb2', 'mips32', 'x86-32', 'x86-64']
|
|
|
| + if env.Bit('pnacl_unsandboxed'):
|
| + arch = 'linux-%s' % arch
|
| arch_flag = ' -arch %s' % arch
|
| if env.Bit('pnacl_generate_pexe'):
|
| ld_arch_flag = ''
|
|
|