Gentoo Archives: gentoo-commits

From: Jason Donenfeld <zx2c4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard/
Date: Fri, 01 Jun 2018 17:14:05
Message-Id: 1527873232.bd1258350895e8c44db5bbb16808c0da93c92098.zx2c4@gentoo
1 commit: bd1258350895e8c44db5bbb16808c0da93c92098
2 Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 1 17:13:43 2018 +0000
4 Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 1 17:13:52 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd125835
7
8 net-vpn/wireguard: use toolchain's CC and LD explicitly
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 net-vpn/wireguard/wireguard-0.0.20180531.ebuild | 2 +-
13 net-vpn/wireguard/wireguard-9999.ebuild | 4 ++--
14 2 files changed, 3 insertions(+), 3 deletions(-)
15
16 diff --git a/net-vpn/wireguard/wireguard-0.0.20180531.ebuild b/net-vpn/wireguard/wireguard-0.0.20180531.ebuild
17 index b8f4649d874..3a4681c656a 100644
18 --- a/net-vpn/wireguard/wireguard-0.0.20180531.ebuild
19 +++ b/net-vpn/wireguard/wireguard-0.0.20180531.ebuild
20 @@ -41,7 +41,7 @@ src_compile() {
21 BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
22 use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
23 use module && linux-mod_src_compile
24 - use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
25 + use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools CC="$(tc-getCC)" LD="$(tc-getLD)"
26 }
27
28 src_install() {
29
30 diff --git a/net-vpn/wireguard/wireguard-9999.ebuild b/net-vpn/wireguard/wireguard-9999.ebuild
31 index fdc71975143..3a4681c656a 100644
32 --- a/net-vpn/wireguard/wireguard-9999.ebuild
33 +++ b/net-vpn/wireguard/wireguard-9999.ebuild
34 @@ -1,4 +1,4 @@
35 -# Copyright 1999-2017 Gentoo Foundation
36 +# Copyright 1999-2018 Gentoo Foundation
37 # Distributed under the terms of the GNU General Public License v2
38
39 EAPI=6
40 @@ -41,7 +41,7 @@ src_compile() {
41 BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
42 use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
43 use module && linux-mod_src_compile
44 - use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
45 + use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools CC="$(tc-getCC)" LD="$(tc-getLD)"
46 }
47
48 src_install() {