Index: tools/gyp/configurations_make.gypi |
=================================================================== |
--- tools/gyp/configurations_make.gypi (revision 33445) |
+++ tools/gyp/configurations_make.gypi (working copy) |
@@ -76,7 +76,8 @@ |
'ldflags': [ '-m32', ], |
}, |
- 'Dart_Linux_mips_Base': { |
+ # MIPS cross-build |
+ 'Dart_Linux_xmips_Base': { |
'abstract': 1, |
'target_conditions': [ |
['_toolset=="target"', { |
@@ -92,6 +93,16 @@ |
}]] |
}, |
+ # MIPS native build |
+ 'Dart_Linux_mips_Base': { |
+ 'abstract': 1, |
+ 'cflags': [ |
+ '-march=mips32', |
+ '-mhard-float', |
+ '-fno-strict-overflow', |
+ ], |
+ }, |
+ |
'Dart_Linux_Debug': { |
'abstract': 1, |
'cflags': [ |