[arch-commits] Commit in qt5-webengine/kde-unstable (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Jun 8 20:42:09 UTC 2016


    Date: Wednesday, June 8, 2016 @ 22:42:08
  Author: arojas
Revision: 269157

Add workaround for v8 issues with GCC6

Modified:
  qt5-webengine/kde-unstable/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-06-08 20:22:20 UTC (rev 269156)
+++ PKGBUILD	2016-06-08 20:42:08 UTC (rev 269157)
@@ -5,7 +5,7 @@
 pkgname=qt5-webengine
 _qtver=5.7.0-rc
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL' 'FDL' 'custom')
@@ -34,6 +34,11 @@
 build() {
   cd build
 
+  # Work around bug in v8 in which GCC 6 optimizes away null pointer checks
+  # https://bugs.chromium.org/p/v8/issues/detail?id=3782
+  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69234
+  CFLAGS+=' -fno-delete-null-pointer-checks'
+
   export PATH="$srcdir/bin:$PATH"
   qmake WEBENGINE_CONFIG+=use_proprietary_codecs ../${_pkgfqn}
   make



More information about the arch-commits mailing list