diff options
-rw-r--r-- | build/internal/release_impl.gypi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/internal/release_impl.gypi b/build/internal/release_impl.gypi index 2e95aee..5ac0e09 100644 --- a/build/internal/release_impl.gypi +++ b/build/internal/release_impl.gypi @@ -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-'], + }, + }, } |