Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 9976d25047ad67c226bab5d4b4d07fc30af75f55..9997e40b61ffe0fb02c94e06661e670d05d4f305 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -157,6 +157,15 @@ |
}], |
], |
}], |
+ # Host compiler other than arm does not have "-mfloat-abi=hard" |
+ # option, remove it from cflags. |
+ ['host_arch!="arm"', { |
+ 'target_conditions': [ |
+ ['_toolset=="host"', { |
+ 'cflags!': ['-mfloat-abi=hard'], |
+ }], |
+ ], |
+ }], |
], |
}], |
['v8_target_arch=="ia32"', { |