Index: build/v8-features.gypi |
diff --git a/build/v8-features.gypi b/build/v8-features.gypi |
index 40374523ad56263ed2f50e7a5f0f932e1c796123..cb9b61ce93e69a57cf66cc0c2259e88522e0d65d 100644 |
--- a/build/v8-features.gypi |
+++ b/build/v8-features.gypi |
@@ -89,6 +89,19 @@ |
'USE_EABI_HARDFLOAT=1', |
'CAN_USE_VFP_INSTRUCTIONS', |
], |
+ 'cflags': [ |
+ '-mfloat-abi=hard', |
+ ], |
+ }, { |
+ 'defines': [ |
+ 'USE_EABI_HARDFLOAT=0', |
+ ], |
+ }], |
+ # The ARM assembler assumes the host is 32 bits, |
+ # so force building 32-bit host tools. |
+ [ 'host_arch=="x64"', { |
+ 'cflags': ['-m32'], |
+ 'ldflags': ['-m32'], |
}], |
], |
}], |