Index: tools/gyp/v8.gyp |
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp |
index 77f13faa123b4930f371b15ffb52afce98416718..d266e87d3080dcc7dfae1d25021319f4200caa78 100644 |
--- a/tools/gyp/v8.gyp |
+++ b/tools/gyp/v8.gyp |
@@ -32,6 +32,7 @@ |
'gcc_version%': 'unknown', |
'v8_compress_startup_data%': 'false', |
'v8_target_arch%': '<(target_arch)', |
+ 'v8_can_use_vfp_instructions%': 'false', |
'v8_use_snapshot%': 'true', |
'v8_use_liveobjectlist%': 'false', |
}, |
@@ -56,6 +57,13 @@ |
'defines': [ |
'V8_TARGET_ARCH_ARM', |
], |
+ 'conditions': [ |
+ [ 'v8_can_use_vfp_instructions=="true"', { |
+ 'defines': [ |
+ 'CAN_USE_VFP_INSTRUCTIONS', |
+ ], |
+ }], |
+ ], |
}], |
['v8_target_arch=="ia32"', { |
'defines': [ |