| Index: pydir/crosstest.py
|
| diff --git a/pydir/crosstest.py b/pydir/crosstest.py
|
| index 1b95dbcb5b97d733dd7039540192cd4e8510eb85..075102cc1ec05455f2c394abce2302f4260dc918 100755
|
| --- a/pydir/crosstest.py
|
| +++ b/pydir/crosstest.py
|
| @@ -127,6 +127,7 @@ def main():
|
| shellcmd(['{bin}/pnacl-clang'.format(bin=bindir),
|
| ('-O2' if args.clang_opt else '-O0'),
|
| ('-DARM32' if args.target == 'arm32' else ''), '-c', arg,
|
| + ('-DMIPS32' if args.target == 'mips32' else ''),
|
| '-o', bitcode_nonfinal])
|
| shellcmd(['{bin}/pnacl-opt'.format(bin=bindir),
|
| '-pnacl-abi-simplify-preopt',
|
| @@ -208,6 +209,9 @@ def main():
|
| target_params.append('-DARM32')
|
| target_params.append('-static')
|
|
|
| + if args.target == 'mips32':
|
| + target_params.append('-DMIPS32')
|
| +
|
| pure_c = os.path.splitext(args.driver)[1] == '.c'
|
| if not args.nonsfi:
|
| # Set compiler to clang, clang++, pnacl-clang, or pnacl-clang++.
|
|
|