sys-libs/libunwind: Fix bug 586208 properly this time
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Wed, 4 Oct 2017 09:30:50 +0000 (11:30 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Wed, 4 Oct 2017 09:31:14 +0000 (11:31 +0200)
Closes: https://bugs.gentoo.org/586208
Package-Manager: Portage-2.3.11, Repoman-2.3.3

sys-libs/libunwind/libunwind-1.2.1.ebuild

index 842c0d0ab415222fd216362ce80114a3fec7653c..7b3677c4a1a2eec1aea9cb6479fd908a9ce381ee 100644 (file)
@@ -23,9 +23,6 @@ RDEPEND="lzma? ( app-arch/xz-utils )"
 DEPEND="${RDEPEND}
        libatomic? ( dev-libs/libatomic_ops )"
 
-# Bug 586208
-CCACHE_NODIRECT=1
-
 S="${WORKDIR}/${MY_P}"
 
 MULTILIB_WRAPPED_HEADERS=(
@@ -84,6 +81,11 @@ multilib_src_configure() {
                $(use_enable debug)
 }
 
+multilib_src_compile() {
+       # Bug 586208
+       CCACHE_NODIRECT=1 default
+}
+
 multilib_src_test() {
        # Explicitly allow parallel build of tests.
        # Sandbox causes some tests to freak out.