X-Git-Url: https://codereview.qt-project.org/gitweb?p=qt%2Fqtwebengine-chromium.git;a=blobdiff_plain;f=chromium%2Fbuild%2Fcommon.gypi;h=fccfc7b309af18d41eecd98640aacd9424903f2b;hp=f02d100e30a559629b4857d28a4d3950d2130da5;hb=9fcd3f167e3f3fb5b4cfb62287a892628a8f7f26;hpb=29a5bf2486edb5804a18097684ae1660b7aa949e diff --git a/src/3rdparty/chromium/build/common.gypi b/src/3rdparty/chromium/build/common.gypi index f02d100..fccfc7b 100644 --- a/src/3rdparty/chromium/build/common.gypi +++ b/src/3rdparty/chromium/build/common.gypi @@ -4716,6 +4716,26 @@ }], ], }], + ['gcc_version>=60 and clang==0', { + 'target_conditions': [ + ['_toolset=="target"', { + 'cflags_cc': [ + # V8 needs this, see https://bugs.chromium.org/p/v8/issues/detail?id=3782 + '-fno-delete-null-pointer-checks', + ], + }], + ], + }], + ['host_gcc_version>=60 and clang==0 and host_clang==0', { + 'target_conditions': [ + ['_toolset=="host"', { + 'cflags_cc': [ + # V8 needs this, see https://bugs.chromium.org/p/v8/issues/detail?id=3782 + '-fno-delete-null-pointer-checks', + ], + }], + ], + }], ], }, }],