From d28f27dbd511685428d8b7af191ac1e9de7c861a Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Mon, 29 Aug 2016 16:24:15 +0000 Subject: community/webkitgtk: fix build on aarch64 --- community/webkitgtk/APKBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'community/webkitgtk') diff --git a/community/webkitgtk/APKBUILD b/community/webkitgtk/APKBUILD index 026816ab63..f7e3dfa87d 100644 --- a/community/webkitgtk/APKBUILD +++ b/community/webkitgtk/APKBUILD @@ -72,6 +72,16 @@ prepare() { _build() { local _ver=$1 + + # disable jit on aarch64 + if [ "$CARCH" = "aarch64" ]; then + local _conf="--disable-jit" + export CXXFLAGS="$CXXFLAGS -DENABLE_YARR_JIT=0" + fi + + # Workaround crashes with gcc 6.1 + export CXXFLAGS="$CXXFLAGS -fno-delete-null-pointer-checks" + shift ../configure $@\ --build=$CBUILD \ @@ -85,6 +95,7 @@ _build() { --enable-introspection \ --with-gtk=$_ver \ --disable-webkit2 \ + $_conf \ || return 1 # fight overlinking -- cgit v1.2.3