summaryrefslogtreecommitdiff
path: root/libre/icecat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/icecat/PKGBUILD')
-rw-r--r--libre/icecat/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/libre/icecat/PKGBUILD b/libre/icecat/PKGBUILD
index 839e0634f..c5a35a16c 100644
--- a/libre/icecat/PKGBUILD
+++ b/libre/icecat/PKGBUILD
@@ -96,6 +96,8 @@ build() {
export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/$pkgname"
export PYTHON="/usr/bin/python2"
+ export MOZ_MAKE_FLAGS="$MAKEFLAGS"
+ unset MAKEFLAGS
mv $pkgname-$pkgver $srcdir/gnuzilla-build
cd $srcdir/gnuzilla-build
@@ -137,17 +139,18 @@ build() {
if $_pgo; then
export MOZ_PGO=1
export DISPLAY=:99
- export MOZ_MAKE_FLAGS="$MAKEFLAGS"
- unset MAKEFLAGS
-
Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 $DISPLAY &
_fail=0
make -f client.mk build || _fail=1
+ else
+ _fail=0
- kill $! || true
- return $_fail
+ make -f client.mk build || _fail=1
fi
+
+ kill $! || true
+ return $_fail
}
package() {