Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 0daf4440f775d6bf7e0884519a7593afdfab7f2d..3e419c6d618fde3006b7420571dd1142b58e1e94 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2604,6 +2604,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. |