extra/webkit: armv5 fix

This commit is contained in:
Kevin Mihelich 2013-10-18 01:38:43 +00:00
parent 953bb09c46
commit dffdc4dbbe

View file

@ -3,6 +3,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - re-enabled --disable-silent-rules, needed for v5 and v6 to build
# - use --disable-jit for v5, uses incompatible ARM assembly
pkgname=webkitgtk
pkgver=2.2.0
@ -24,9 +25,12 @@ sha256sums=('84902e3255dcc6efa1298c8a1f2d2a49674126dcacea383f309aeed9e734d538')
build() {
cd $pkgname-$pkgver
[[ $CARCH == 'armv5' ]] && CONFIG='--disable-jit'
./configure --prefix=/usr \
--libexecdir=/usr/lib/$pkgname \
--enable-introspection --disable-silent-rules
--enable-introspection --disable-silent-rules $CONFIG
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool