diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-02-10 01:50:26 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-02-10 22:49:56 +0100 |
commit | da3675965824a307cd16ffc48193929ba8125d98 (patch) | |
tree | 8fd0a751808ddcd2c060ce1df501504dff249b7b /www-client | |
parent | www-client/firefox: update patch set (diff) | |
download | gentoo-da3675965824a307cd16ffc48193929ba8125d98.tar.gz gentoo-da3675965824a307cd16ffc48193929ba8125d98.tar.bz2 gentoo-da3675965824a307cd16ffc48193929ba8125d98.zip |
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@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/firefox/firefox-65.0-r1.ebuild | 14 |
1 files 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 68ba5674066a..3496160e8fff 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%_*}" |