| Index: tools/gn.py
|
| diff --git a/tools/gn.py b/tools/gn.py
|
| index 7598b5f862958773934b7e727accdc58350da771..814441d382c331436b383f32d32196af1c8dd8b2 100755
|
| --- a/tools/gn.py
|
| +++ b/tools/gn.py
|
| @@ -102,8 +102,11 @@ def to_gn_args(args, mode, arch, target_os):
|
| gn_args['dart_runtime_mode'] = 'develop'
|
|
|
| # TODO(zra): Investigate using clang with these configurations.
|
| + # Clang compiles tcmalloc's inline assembly for ia32 on Linux wrong, so we
|
| + # don't use clang in that configuration.
|
| has_clang = (host_os != 'win'
|
| and args.os not in ['android']
|
| + and not (gn_args['target_os'] == 'linux' and arch == 'ia32')
|
| and not gn_args['target_cpu'].startswith('arm')
|
| and not gn_args['target_cpu'].startswith('mips'))
|
| gn_args['is_clang'] = args.clang and has_clang
|
|
|