Index: tools/gyp/configurations_make.gypi |
=================================================================== |
--- tools/gyp/configurations_make.gypi (revision 33476) |
+++ tools/gyp/configurations_make.gypi (working copy) |
@@ -49,7 +49,8 @@ |
], |
}, |
- 'Dart_Linux_arm_Base': { |
+ # ARM cross-build |
+ 'Dart_Linux_xarm_Base': { |
'abstract': 1, |
'target_conditions': [ |
['_toolset=="target"', { |
@@ -70,6 +71,21 @@ |
}]] |
}, |
+ # ARM native build |
+ 'Dart_Linux_arm_Base': { |
+ 'abstract': 1, |
+ 'cflags': [ |
+ '-marm', |
+ '-mfpu=vfp', |
+ '-Wno-psabi', # suppresses va_list warning |
+ '-fno-strict-overflow', |
+ ], |
+ 'defines': [ |
+ # In build.py, we specify the hf compiler. |
+ 'ARM_FLOAT_ABI_HARD', |
+ ], |
+ }, |
+ |
'Dart_Linux_simmips_Base': { |
'abstract': 1, |
'cflags': [ '-O3', '-m32', '-msse2' ], |