From b3a5694c6ba4ef605b01bb6a4b8ab2ef6739aa06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Fri, 12 Apr 2013 01:32:31 -0300 Subject: iceweasel-libre: prolix pgo script --- libre-testing/iceweasel-libre/PKGBUILD | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) (limited to 'libre-testing') diff --git a/libre-testing/iceweasel-libre/PKGBUILD b/libre-testing/iceweasel-libre/PKGBUILD index 03f4660be..bafff0c97 100644 --- a/libre-testing/iceweasel-libre/PKGBUILD +++ b/libre-testing/iceweasel-libre/PKGBUILD @@ -157,25 +157,22 @@ build() { export MOZ_MAKE_FLAGS="$MAKEFLAGS" unset MAKEFLAGS - # Enable PGO for x86_64 and mips64el only. i686 currently has problems: - # Either segfaults since gcc 4.8, or the linker runs out of memory - # If you discover that PGO again works on i686, please file a bug - if $_pgo; then - - if [[ $CARCH != i686 ]]; then - export DISPLAY=:99 - Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 $DISPLAY & - _fail=0 - - make -f client.mk build MOZ_PGO=1 || _fail=1 - - kill $! || true - return $_fail - else - make -f client.mk build - fi - + # Enable PGO for x86_64 only. i686 currently has problems: + # Either segfaults since gcc 4.8, or the linker runs out of memory + # If you discover that PGO again works on i686, please file a bug + if [[ $CARCH = x86_64 ]]; then + export DISPLAY=:99 + Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 $DISPLAY & + _fail=0 + + make -f client.mk build MOZ_PGO=1 || _fail=1 + + kill $! || true + return $_fail + else + make -f client.mk build + fi else make -f client.mk build fi -- cgit v1.2.2