Index: tools/gyp/configurations_xcode.gypi |
diff --git a/tools/gyp/configurations_xcode.gypi b/tools/gyp/configurations_xcode.gypi |
index 6bd04527e345ae59eb635950ad065c68e23fc812..e68c3977f437b54a2c55c45540d766212c7e5e49 100644 |
--- a/tools/gyp/configurations_xcode.gypi |
+++ b/tools/gyp/configurations_xcode.gypi |
@@ -37,6 +37,10 @@ |
# TODO(15922): Enable this flag by default. |
# '-Wshorten-64-to-32', |
], |
+ 'OTHER_CFLAGS': [ |
+ '-fno-omit-frame-pointer', |
+ '-mno-omit-leaf-frame-pointer', |
+ ], |
# Generate PIC code as Chrome is switching to this. |
'GCC_DYNAMIC_NO_PIC': 'NO', |
@@ -57,10 +61,6 @@ |
'conditions': [ |
['c_frame_pointers==1', { |
'xcode_settings': { |
- 'OTHER_CFLAGS': [ |
- '-fno-omit-frame-pointer', |
- '-mno-omit-leaf-frame-pointer', |
- ], |
}, |
'defines': [ |
'PROFILE_NATIVE_CODE', |