Index: build/internal/release_impl.gypi |
=================================================================== |
--- build/internal/release_impl.gypi (revision 121081) |
+++ build/internal/release_impl.gypi (working copy) |
@@ -3,4 +3,15 @@ |
# found in the LICENSE file. |
{ |
'includes': ['release_defaults.gypi'], |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { |
+ 'OmitFramePointers': 'false', |
+ # The above is not sufficient (http://crbug.com/106711): it |
+ # simply eliminates an explicit "/Oy", but both /O2 and /Ox |
+ # perform FPO regardless, so we must explicitly disable. |
+ # We still want the false setting above to avoid having |
+ # "/Oy /Oy-" and warnings about overriding. |
+ 'AdditionalOptions': ['/Oy-'], |
+ }, |
+ }, |
} |