From bd1258350895e8c44db5bbb16808c0da93c92098 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 1 Jun 2018 19:13:43 +0200 Subject: 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(-) (limited to 'net-vpn') diff --git a/net-vpn/wireguard/wireguard-0.0.20180531.ebuild b/net-vpn/wireguard/wireguard-0.0.20180531.ebuild index b8f4649d874e..3a4681c656a9 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 fdc71975143a..3a4681c656a9 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() { -- cgit v1.2.3-65-gdbad