From ed306bd3d66bb22e1cb1435567733a5aafacd4e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 16 Dec 2017 17:36:18 +0100 Subject: [PATCH] qt-webkit: rebuild with gcc7 --- srcpkgs/qt-webkit/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/qt-webkit/template b/srcpkgs/qt-webkit/template index d6743b982ba..af8507d45a8 100644 --- a/srcpkgs/qt-webkit/template +++ b/srcpkgs/qt-webkit/template @@ -1,7 +1,7 @@ # Template file for 'qt-webkit' pkgname=qt-webkit version=2.3.4 -revision=6 +revision=7 _qtver=4.8.7 wrksrc="qtwebkit-${version}" create_wrksrc=yes @@ -25,7 +25,7 @@ if [ -n "$CROSS_BUILD" ]; then fi # Use the same value for -std= as in qt -CXXFLAGS="-std=gnu++98" +CXXFLAGS="-std=gnu++98 -Wno-deprecated -fno-delete-null-pointer-checks -fno-lifetime-dse" post_extract() { patch -p1 < ${FILESDIR}/fix-gcc6.patch @@ -45,7 +45,12 @@ do_build() { i686*) # Do not force SSE2 for i686 opts+=" --no-force-sse2" ;; - aarch64*|arm*|mips*) + aarch64*) + # Disable JIT + opts+=" DEFINES+=ENABLE_JIT=0" + opts+=" DEFINES+=ENABLE_YARR_JIT=0" + ;; + arm*|mips*) # Disable JIT and assembler opts+=" DEFINES+=ENABLE_JIT=0" opts+=" DEFINES+=ENABLE_YARR_JIT=0"