Skip to content
Snippets Groups Projects
Commit d28f27db authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

community/webkitgtk: fix build on aarch64

parent 96578ce2
No related branches found
No related tags found
No related merge requests found
...@@ -72,6 +72,16 @@ prepare() { ...@@ -72,6 +72,16 @@ prepare() {
_build() { _build() {
local _ver=$1 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 shift
../configure $@\ ../configure $@\
--build=$CBUILD \ --build=$CBUILD \
...@@ -85,6 +95,7 @@ _build() { ...@@ -85,6 +95,7 @@ _build() {
--enable-introspection \ --enable-introspection \
--with-gtk=$_ver \ --with-gtk=$_ver \
--disable-webkit2 \ --disable-webkit2 \
$_conf \
|| return 1 || return 1
# fight overlinking # fight overlinking
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment