Skip to content
Snippets Groups Projects
Commit aa67e2a3 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

Make use of xvfb-run

parent 085846e7
No related branches found
Tags 1-1
No related merge requests found
......@@ -72,16 +72,9 @@ build() {
export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/firefox"
export PYTHON="/usr/bin/python2"
# Set up PGO
export DISPLAY=:99
Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 $DISPLAY &
if ! make -f client.mk build MOZ_PGO=1; then
kill $!
return 1
fi
kill $! || true
# Do PGO
xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" \
make -f client.mk build MOZ_PGO=1
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment