forked from pool/libqt5-qtwebengine
eef93b3fbf
- Add use-fno-delete-null-pointer-checks-with-gcc-6.diff: fix crashes with GCC 6 (https://codereview.qt-project.org/#/c/161965/) - Update to 5.6.1 * For more details please see: http://blog.qt.io/blog/2016/06/08/qt-5-6-1-released/ - Drop obsolete gcc50-fixes.diff OBS-URL: https://build.opensuse.org/request/show/404227 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtwebengine?expand=0&rev=11
34 lines
1.4 KiB
Diff
34 lines
1.4 KiB
Diff
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',
|
|
+ ],
|
|
+ }],
|
|
+ ],
|
|
+ }],
|
|
],
|
|
},
|
|
}],
|