summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-08-26 17:30:59 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-08-26 17:31:11 -0700
commit80c763a2f3f7db6babe7f62c5fb5058582021ebd (patch)
treee4be68b18480f1e57f239c351e3095843a22d1f3 /sys-fs
parentsys-fs/zfs-kmod: pass HOSTCC and CROSS_COMPILE to ./configure (diff)
downloadgentoo-80c763a2f3f7db6babe7f62c5fb5058582021ebd.tar.gz
gentoo-80c763a2f3f7db6babe7f62c5fb5058582021ebd.tar.bz2
gentoo-80c763a2f3f7db6babe7f62c5fb5058582021ebd.zip
sys-fs/zfs-kmod: backport CC/LD fixes to 2.0.0_rc1
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/zfs-kmod/zfs-kmod-2.0.0_rc1.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-fs/zfs-kmod/zfs-kmod-2.0.0_rc1.ebuild b/sys-fs/zfs-kmod/zfs-kmod-2.0.0_rc1.ebuild
index 6acf1aa16793..73b00ca17e00 100644
--- a/sys-fs/zfs-kmod/zfs-kmod-2.0.0_rc1.ebuild
+++ b/sys-fs/zfs-kmod/zfs-kmod-2.0.0_rc1.ebuild
@@ -101,6 +101,8 @@ src_configure() {
filter-ldflags -Wl,*
local myconf=(
+ CROSS_COMPILE="${CHOST}-"
+ HOSTCC="$(tc-getBUILD_CC)"
--bindir="${EPREFIX}/bin"
--sbindir="${EPREFIX}/sbin"
--with-config=kernel