Index: tools/gyp/configurations_make.gypi |
diff --git a/tools/gyp/configurations_make.gypi b/tools/gyp/configurations_make.gypi |
index 29fab0bdac68301c92cb36f75496fe9d370bc01f..943b48e22145cf07465e8aac04e7805e610981b0 100644 |
--- a/tools/gyp/configurations_make.gypi |
+++ b/tools/gyp/configurations_make.gypi |
@@ -177,10 +177,6 @@ |
'conditions': [ |
['c_frame_pointers==1', { |
'cflags': [ |
- '-fno-omit-frame-pointer', |
- # Clang on Linux will still omit frame pointers from leaf |
- # functions unless told otherwise: |
- '-mno-omit-leaf-frame-pointer', |
], |
'defines': [ |
'PROFILE_NATIVE_CODE' |
@@ -189,6 +185,10 @@ |
], |
'cflags': [ |
'-O<(dart_debug_optimization_level)', |
+ '-fno-omit-frame-pointer', |
+ # Clang on Linux will still omit frame pointers from leaf |
+ # functions unless told otherwise: |
+ '-mno-omit-leaf-frame-pointer', |
], |
}, |
@@ -197,10 +197,6 @@ |
'conditions': [ |
['c_frame_pointers==1', { |
'cflags': [ |
- '-fno-omit-frame-pointer', |
- # Clang on Linux will still omit frame pointers from leaf |
- # functions unless told otherwise: |
- '-mno-omit-leaf-frame-pointer', |
], |
'defines': [ |
'PROFILE_NATIVE_CODE' |
@@ -209,6 +205,10 @@ |
], |
'cflags': [ |
'-O3', |
+ '-fno-omit-frame-pointer', |
+ # Clang on Linux will still omit frame pointers from leaf |
+ # functions unless told otherwise: |
+ '-mno-omit-leaf-frame-pointer', |
], |
}, |
}, |