Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 451b1e9704846b18990b8c6ee3a1b4950e4526b4..5716e61e098bd38ab20f6d8444b7c5556cdd4b9d 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -725,6 +725,9 @@ |
# arm_neon==0). |
'arm_fpu%': 'vfpv3', |
+ # Set ARM float abi compilation flag. |
+ 'arm_float_abi%': 'softfp', |
+ |
# Enable new NPDevice API. |
'enable_new_npdevice_api%': 0, |
@@ -2075,7 +2078,7 @@ |
'cflags': [ |
'-march=armv7-a', |
'-mtune=cortex-a8', |
- '-mfloat-abi=softfp', |
+ '-mfloat-abi=<(arm_float_abi)', |
], |
'conditions': [ |
['arm_neon==1', { |