Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs-kmod/
Date: Thu, 27 Aug 2020 08:24:11
Message-Id: 1598516347.f93aa43e0e58a90b0b821b1d77b6c655a56d575a.gyakovlev@gentoo
1 commit: f93aa43e0e58a90b0b821b1d77b6c655a56d575a
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 27 08:19:07 2020 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 27 08:19:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f93aa43e
7
8 sys-fs/zfs-kmod: backport CC/LD fix to 0.8.4
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 sys-fs/zfs-kmod/zfs-kmod-0.8.4-r1.ebuild | 8 +++++++-
14 1 file changed, 7 insertions(+), 1 deletion(-)
15
16 diff --git a/sys-fs/zfs-kmod/zfs-kmod-0.8.4-r1.ebuild b/sys-fs/zfs-kmod/zfs-kmod-0.8.4-r1.ebuild
17 index 5da2b737514..59ea52ab658 100644
18 --- a/sys-fs/zfs-kmod/zfs-kmod-0.8.4-r1.ebuild
19 +++ b/sys-fs/zfs-kmod/zfs-kmod-0.8.4-r1.ebuild
20 @@ -104,6 +104,8 @@ src_configure() {
21 filter-ldflags -Wl,*
22
23 local myconf=(
24 + CROSS_COMPILE="${CHOST}-"
25 + HOSTCC="$(tc-getBUILD_CC)"
26 --bindir="${EPREFIX}/bin"
27 --sbindir="${EPREFIX}/sbin"
28 --with-config=kernel
29 @@ -118,7 +120,11 @@ src_configure() {
30 src_compile() {
31 set_arch_to_kernel
32
33 - myemakeargs=( V=1 )
34 + myemakeargs=(
35 + CROSS_COMPILE="${CHOST}-"
36 + HOSTCC="$(tc-getBUILD_CC)"
37 + V=1
38 + )
39
40 emake "${myemakeargs[@]}"
41 }