commit: da3675965824a307cd16ffc48193929ba8125d98 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sun Feb 10 00:50:26 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sun Feb 10 21:49:56 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da367596
www-client/firefox: USE=pgo when using GCC will require AVX2 support Bug: https://bugs.gentoo.org/677052 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> www-client/firefox/firefox-65.0-r1.ebuild | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/www-client/firefox/firefox-65.0-r1.ebuild b/www-client/firefox/firefox-65.0-r1.ebuild index 68ba5674066..3496160e8ff 100644 --- a/www-client/firefox/firefox-65.0-r1.ebuild +++ b/www-client/firefox/firefox-65.0-r1.ebuild @@ -41,9 +41,10 @@ KEYWORDS="~amd64 ~x86" SLOT="0" LICENSE="MPL-2.0 GPL-2 LGPL-2.1" -IUSE="bindist clang dbus debug eme-free geckodriver +gmp-autoupdate hardened hwaccel - jack lto neon pgo pulseaudio +screenshot selinux startup-notification - +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-sqlite +IUSE="bindist clang cpu_flags_x86_avx2 dbus debug eme-free geckodriver + +gmp-autoupdate hardened hwaccel jack lto neon pgo pulseaudio + +screenshot selinux startup-notification +system-harfbuzz + +system-icu +system-jpeg +system-libevent +system-sqlite +system-libvpx +system-webp test wayland wifi" RESTRICT="!bindist? ( bindist )" @@ -123,8 +124,13 @@ DEPEND="${CDEPEND} amd64? ( >=dev-lang/yasm-1.1 virtual/opengl ) x86? ( >=dev-lang/yasm-1.1 virtual/opengl )" +# Due to a bug in GCC, profile guided optimization will produce +# AVX2 instructions, bug #677052 REQUIRED_USE="wifi? ( dbus ) - pgo? ( lto )" + pgo? ( + lto + !clang? ( cpu_flags_x86_avx2 ) + )" S="${WORKDIR}/firefox-${PV%_*}"