qt-webkit: rebuild with gcc7
This commit is contained in:
parent
b0085f8a1e
commit
ed306bd3d6
1 changed files with 8 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue