commit:     bd1258350895e8c44db5bbb16808c0da93c92098
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  1 17:13:43 2018 +0000
Commit:     Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Jun  1 17:13:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd125835

net-vpn/wireguard: use toolchain's CC and LD explicitly

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-vpn/wireguard/wireguard-0.0.20180531.ebuild | 2 +-
 net-vpn/wireguard/wireguard-9999.ebuild         | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-vpn/wireguard/wireguard-0.0.20180531.ebuild 
b/net-vpn/wireguard/wireguard-0.0.20180531.ebuild
index b8f4649d874..3a4681c656a 100644
--- a/net-vpn/wireguard/wireguard-0.0.20180531.ebuild
+++ b/net-vpn/wireguard/wireguard-0.0.20180531.ebuild
@@ -41,7 +41,7 @@ src_compile() {
        BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
        use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
        use module && linux-mod_src_compile
-       use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
+       use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools 
CC="$(tc-getCC)" LD="$(tc-getLD)"
 }
 
 src_install() {

diff --git a/net-vpn/wireguard/wireguard-9999.ebuild 
b/net-vpn/wireguard/wireguard-9999.ebuild
index fdc71975143..3a4681c656a 100644
--- a/net-vpn/wireguard/wireguard-9999.ebuild
+++ b/net-vpn/wireguard/wireguard-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -41,7 +41,7 @@ src_compile() {
        BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
        use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}"
        use module && linux-mod_src_compile
-       use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools
+       use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools 
CC="$(tc-getCC)" LD="$(tc-getLD)"
 }
 
 src_install() {

Reply via email to