community/phantomjs fix

This commit is contained in:
Kevin Mihelich 2015-02-27 13:32:32 +00:00
parent 9f8efc3b2e
commit 16f823bd11

View file

@ -5,9 +5,7 @@
# Contributor: Vladimir Chizhov <jagoterr@gmail.com>
# Contributor: Henry Tang <henryykt@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - Just say NO to x86 optimizations, and no neon
# - added -fno-strict-volatile-bitfields to CXXFLAGS to fix ARM bug
# remove when bumped upstream
pkgname=phantomjs
pkgver=2.0.0
@ -22,13 +20,10 @@ source=("git+https://github.com/ariya/${pkgname}.git#tag=$pkgver")
build() {
cd $pkgname
export CXXFLAGS="$CXXFLAGS -fno-strict-volatile-bitfields"
mkdir "$srcdir/python2-path"
ln -s /usr/bin/python2 "$srcdir/python2-path/python"
PATH="$srcdir/python2-path:$PATH" PYTHON=/usr/bin/python2 ./build.sh --confirm --qt-config \
"-no-rpath -no-mmx -no-3dnow -no-sse -no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-neon"
PATH="$srcdir/python2-path:$PATH" PYTHON=/usr/bin/python2 ./build.sh --confirm --qt-config "-no-rpath"
}
package() {