diff options
Diffstat (limited to 'community/webkitgtk/APKBUILD')
-rw-r--r-- | community/webkitgtk/APKBUILD | 11 |
1 files changed, 11 insertions, 0 deletions
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 |