diff --git a/srcpkgs/webkitgtk/template b/srcpkgs/webkitgtk/template index 802b4815a69..543a485c206 100644 --- a/srcpkgs/webkitgtk/template +++ b/srcpkgs/webkitgtk/template @@ -34,6 +34,13 @@ if [ -z "$CROSS_BUILD" ]; then build_options_default+=" gir" fi +case "$XBPS_TARGET_MACHINE" in +aarch64*) + CFLAGS+=" -DENABLE_YARR_JIT=0" + CXXFLAGS+=" -DENABLE_YARR_JIT=0" + configure_args+=" --disable-jit" +esac + # Explicit order since webkitgtk2-devel depends on webkitgtk2 subpackages="webkitgtk-devel webkitgtk2 webkitgtk2-devel"