From: Thomas Deutschmann Date: Tue, 21 Apr 2020 19:21:08 +0000 (+0200) Subject: www-client/firefox: disable FEATURES=ccache with USE=clang and USE=pgo X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5cce531e716803b47711303fa77d052a2e472e56;p=gentoo.git www-client/firefox: disable FEATURES=ccache with USE=clang and USE=pgo Bug: https://bugs.gentoo.org/718632 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann --- diff --git a/www-client/firefox/firefox-68.7.0.ebuild b/www-client/firefox/firefox-68.7.0.ebuild index 4e8dd7c4d524..3fcbaeaeecaa 100644 --- a/www-client/firefox/firefox-68.7.0.ebuild +++ b/www-client/firefox/firefox-68.7.0.ebuild @@ -280,6 +280,10 @@ pkg_setup() { # Workaround for #627726 if has ccache ${FEATURES} ; then + if use clang && use pgo ; then + die "Using FEATURES=ccache with USE=clang and USE=pgo is currently known to be broken (bug #718632)." + fi + einfo "Fixing PATH for FEATURES=ccache ..." PATH=$(fix_path 'ccache/bin') elif has distcc ${FEATURES} ; then diff --git a/www-client/firefox/firefox-75.0.ebuild b/www-client/firefox/firefox-75.0.ebuild index 7da7f21dad0b..9327b6461110 100644 --- a/www-client/firefox/firefox-75.0.ebuild +++ b/www-client/firefox/firefox-75.0.ebuild @@ -298,6 +298,10 @@ pkg_setup() { # Workaround for #627726 if has ccache ${FEATURES} ; then + if use clang && use pgo ; then + die "Using FEATURES=ccache with USE=clang and USE=pgo is currently known to be broken (bug #718632)." + fi + einfo "Fixing PATH for FEATURES=ccache ..." PATH=$(fix_path 'ccache/bin') elif has distcc ${FEATURES} ; then