sys-fs/multipath-tools: export full compiler name for build
authorTim Harder <radhermit@gentoo.org>
Thu, 9 Feb 2017 11:37:11 +0000 (06:37 -0500)
committerTim Harder <radhermit@gentoo.org>
Thu, 9 Feb 2017 11:39:32 +0000 (06:39 -0500)
sys-fs/multipath-tools/multipath-tools-0.6.4.ebuild

index 6d4e372ff10e6bc71cb6dc2095c4c204ef675015..97b1aa2feed19136043ffd1796f146e179ec6197 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit linux-info systemd toolchain-funcs udev vcs-snapshot
+inherit linux-info systemd toolchain-funcs udev vcs-snapshot toolchain-funcs
 
 DESCRIPTION="Device mapper target autoconfig"
 HOMEPAGE="http://christophe.varoqui.free.fr/"
@@ -66,6 +66,7 @@ src_compile() {
        # LIBDM_API_FLUSH involves grepping files in /usr/include,
        # so force the test to go the way we want #411337.
        emake \
+               CC="$(tc-getCC)" \
                LIBDM_API_FLUSH=1 SYSTEMD="$(get_systemd_pv)"
 }