From c24e20dbdb0c87824f3c37d9df42dceb2ceb2cf9 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Thu, 25 Jul 2019 22:59:32 +0200 Subject: [PATCH] www-client/firefox: USE=pgo requires FEATURES=userpriv Closes: https://bugs.gentoo.org/682668 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Thomas Deutschmann --- www-client/firefox/firefox-68.0.1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www-client/firefox/firefox-68.0.1.ebuild b/www-client/firefox/firefox-68.0.1.ebuild index 9a45c46f6d728..29ca61b95dbf9 100644 --- a/www-client/firefox/firefox-68.0.1.ebuild +++ b/www-client/firefox/firefox-68.0.1.ebuild @@ -354,6 +354,12 @@ src_configure() { # Must pass release in order to properly select linker mozconfig_annotate 'Enable by Gentoo' --enable-release + if use pgo ; then + if ! has userpriv $FEATURES ; then + eerror "Building firefox with USE=pgo and FEATURES=-userpriv is not supported!" + fi + fi + # Don't let user's LTO flags clash with upstream's flags filter-flags -flto*