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