diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-08-13 21:32:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-08-13 21:32:37 +0100 |
commit | f8ba9d608e12c3def4fa955c71dd41520c0e3c0f (patch) | |
tree | 1f58e892d986abd3daea4c3124a6a33e01e16201 | |
parent | 2af04c3a9449e0be2730f0c9f563b15c1b1ef0a6 (diff) |
completely fix lack of dri in chroot, when building firefox with PGO
-rw-r--r-- | www-client/firefox/firefox-38.1.0.ebuild | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/www-client/firefox/firefox-38.1.0.ebuild b/www-client/firefox/firefox-38.1.0.ebuild index 247dc0ca..37e1cb80 100644 --- a/www-client/firefox/firefox-38.1.0.ebuild +++ b/www-client/firefox/firefox-38.1.0.ebuild @@ -263,20 +263,6 @@ src_compile() { # Reset and cleanup environment variables used by GNOME/XDG gnome2_environment_reset - # Firefox tries to use dri stuff when it's run, see bug 380283 - shopt -s nullglob - cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') - if test -z "${cards}"; then - cards=$(echo -n /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g') - if test -n "${cards}"; then - # Binary drivers seem to cause access violations anyway, so - # let's use indirect rendering so that the device files aren't - # touched at all. See bug 394715. - export LIBGL_ALWAYS_INDIRECT=1 - fi - fi - shopt -u nullglob - CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \ Xemake -f client.mk profiledbuild || die "Xemake failed" |