| Index: pydir/crosstest.py
|
| diff --git a/pydir/crosstest.py b/pydir/crosstest.py
|
| index ae2c8a2e89c0625915c4bfae4e234e9bfddf6925..d69647fe7ecc67939894c74f2b54715cf32c2370 100755
|
| --- a/pydir/crosstest.py
|
| +++ b/pydir/crosstest.py
|
| @@ -146,9 +146,11 @@ def main():
|
| compiler = '{bin}/{prefix}{cc}'.format(
|
| bin=bindir, prefix='pnacl-' if args.sandbox else '',
|
| cc='clang' if pure_c else 'clang++')
|
| - sb_native_args = (['-O0', '--pnacl-allow-native', '-arch', 'x8632']
|
| + sb_native_args = (['-O0', '--pnacl-allow-native', '-arch', 'x8632',
|
| + '-Wn,-defsym=__Sz_AbsoluteZero=0']
|
| if args.sandbox else
|
| - ['-g', '-m32', '-lm', '-lpthread'])
|
| + ['-g', '-m32', '-lm', '-lpthread',
|
| + '-Wl,--defsym=__Sz_AbsoluteZero=0'])
|
| shellcmd([compiler, args.driver] + objs +
|
| ['-o', os.path.join(args.dir, args.output)] + sb_native_args)
|
|
|
|
|