Index: tools/gn.py |
diff --git a/tools/gn.py b/tools/gn.py |
index 19bc1f6be587e6a847b0f1613183af1fc08ad117..6155b8d2f2362e4ba8df43387ab8fb7c5abc354e 100755 |
--- a/tools/gn.py |
+++ b/tools/gn.py |
@@ -91,7 +91,8 @@ def to_gn_args(args, mode, arch, target_os): |
gn_args['dart_use_tcmalloc'] = (gn_args['target_os'] == 'linux' |
and not args.asan) |
- gn_args['arm_float_abi'] = 'hard' |
+ if gn_args['target_cpu'].startswith('arm'): |
+ gn_args['arm_float_abi'] = 'hard' |
gn_args['is_debug'] = mode == 'debug' |
gn_args['is_release'] = mode == 'release' |