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 <whissi@gentoo.org>
This commit is contained in:
Thomas Deutschmann
2019-07-25 22:59:32 +02:00
parent 77da9e4836
commit c24e20dbdb

View File

@@ -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*