diff options
-rw-r--r-- | build/common.gypi | 6 | ||||
-rw-r--r-- | skia/skia.gyp | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index c94af17..c6b4529 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -2608,6 +2608,12 @@ '__ARM_ARCH_5TE__', ], }], + ['profiling==1', { + 'cflags': [ + '-marm', # Probably reduntant, but recommend by "perf" docs. + '-mapcs-frame', # Seems required by -fno-omit-frame-pointer. + ], + }], ['clang==1', { 'cflags!': [ # Clang does not support the following options. diff --git a/skia/skia.gyp b/skia/skia.gyp index 3a92620..6c11f07 100644 --- a/skia/skia.gyp +++ b/skia/skia.gyp @@ -706,6 +706,8 @@ # targets via common.gypi. 'cflags!': [ '-fno-omit-frame-pointer', + '-marm', + '-mapcs-frame', ], 'cflags': [ '-fomit-frame-pointer', |