www-client/firefox: Cannot use USE=wayland when USE=pgo
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 8 Aug 2019 17:41:57 +0000 (19:41 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 8 Aug 2019 17:43:07 +0000 (19:43 +0200)
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
www-client/firefox/firefox-68.0.1.ebuild

index dc372d16e31aeb645092d7c5ba0214fafeca2091..667de215c4a0603ab8ed5bf72ae0ce8d1c8829b0 100644 (file)
@@ -164,10 +164,12 @@ DEPEND="${CDEPEND}
        x86? ( >=dev-lang/yasm-1.1 virtual/opengl )
        !system-av1? ( >=dev-lang/nasm-2.13 )"
 
-# Due to a bug in GCC, profile guided optimization will produce
-# AVX2 instructions, bug #677052
+# We use virtx eclass which cannot handle wayland
 REQUIRED_USE="wifi? ( dbus )
-       pgo? ( lto )"
+       pgo? (
+               lto
+               !wayland
+       )"
 
 S="${WORKDIR}/firefox-${PV%_*}"