| Index: pydir/build-runtime.py
|
| diff --git a/pydir/build-runtime.py b/pydir/build-runtime.py
|
| index 31eb8d2ddc0a74b426adcf665b3fe0e282765850..81c8ee2929ff991f756e7bb1c810e68097bb5be9 100755
|
| --- a/pydir/build-runtime.py
|
| +++ b/pydir/build-runtime.py
|
| @@ -37,12 +37,12 @@ def main():
|
| argparser.add_argument('--verbose', '-v', dest='verbose',
|
| action='store_true',
|
| help='Display some extra debugging output')
|
| + argparser.add_argument('--pnacl-root', dest='pnacl_root',
|
| + help='Path to PNaCl toolchain binaries.')
|
| args = argparser.parse_args()
|
| nacl_root = FindBaseNaCl()
|
| - os.environ['PATH'] = (
|
| - '{root}/toolchain/linux_x86/pnacl_newlib/bin{sep}' +
|
| - '{path}'
|
| - ).format(root=nacl_root, sep=os.pathsep, path=os.environ['PATH'])
|
| + os.environ['PATH'] = ('{root}/bin{sep}{path}'
|
| + ).format(root=args.pnacl_root, sep=os.pathsep, path=os.environ['PATH'])
|
| srcdir = (
|
| '{root}/toolchain_build/src/subzero/runtime'
|
| ).format(root=nacl_root)
|
|
|