Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 0a45332266c11c5fac9e59fc5e1f9cb1955b48a3..a1148ffb0753a9796bd7ade82f448d80a64f4797 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1977,7 +1977,12 @@ |
}], |
['linux_keep_shadow_stacks==1', { |
'defines': ['KEEP_SHADOW_STACKS'], |
- 'cflags': ['-finstrument-functions'], |
+ 'cflags': [ |
+ '-finstrument-functions', |
+ # Allow mmx intrinsics to inline, so that the compiler can expand |
+ # the intrinsics. |
+ '-finstrument-functions-exclude-file-list=mmintrin.h', |
+ ], |
}], |
['linux_use_gold_flags==1', { |
'ldflags': [ |