mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/phantomjs fix
This commit is contained in:
parent
9f8efc3b2e
commit
16f823bd11
1 changed files with 3 additions and 8 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue