| Index: pydir/szbuild.py
|
| diff --git a/pydir/szbuild.py b/pydir/szbuild.py
|
| index 10ce8c1e51450dc503b72de6b40c0b0ce6c1a483..569c8caa64b3da9c5c47e62725df97cd070e40b1 100755
|
| --- a/pydir/szbuild.py
|
| +++ b/pydir/szbuild.py
|
| @@ -318,14 +318,10 @@ def ProcessPexe(args, pexe, exe):
|
|
|
| # Run the linker regardless of hybrid mode.
|
| if args.sandbox:
|
| - assert args.target in ('x8632', 'arm32'), \
|
| + assert args.target in ['x8632'], \
|
| '-sandbox is not available for %s' % args.target
|
| - target_lib_dir = {
|
| - 'arm32': 'arm',
|
| - 'x8632': 'x86-32',
|
| - }[args.target]
|
| linklib = ('{root}/toolchain/linux_x86/pnacl_newlib_raw/translator/' +
|
| - '{target_dir}/lib').format(root=nacl_root, target_dir=target_lib_dir)
|
| + 'x86-32/lib').format(root=nacl_root)
|
| shellcmd((
|
| '{gold} -nostdlib --no-fix-cortex-a8 --eh-frame-hdr -z text ' +
|
| '--build-id --entry=__pnacl_start -static ' +
|
|
|