From 8ed2ae42d9e1a2c3df7ed8f116d7ab470de4358a Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Wed, 23 Oct 2019 10:30:21 +0200 Subject: [PATCH] net-analyzer/netselect: Respect CC, use CFLAGS while linking Package-Manager: Portage-2.3.77, Repoman-2.3.17 Fixes: https://bugs.gentoo.org/698312 Reported-by: Peter Levine Signed-off-by: Jeroen Roovers --- .../{netselect-0.4.ebuild => netselect-0.4-r1.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename net-analyzer/netselect/{netselect-0.4.ebuild => netselect-0.4-r1.ebuild} (92%) diff --git a/net-analyzer/netselect/netselect-0.4.ebuild b/net-analyzer/netselect/netselect-0.4-r1.ebuild similarity index 92% rename from net-analyzer/netselect/netselect-0.4.ebuild rename to net-analyzer/netselect/netselect-0.4-r1.ebuild index 18559af3f1e5..20dbb56b53c2 100644 --- a/net-analyzer/netselect/netselect-0.4.ebuild +++ b/net-analyzer/netselect/netselect-0.4-r1.ebuild @@ -26,8 +26,10 @@ src_prepare() { use ipv6 && eapply "${WORKDIR}"/${PN}-0.4-ipv6.patch default +} - tc-export CC +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${CFLAGS} ${LDFLAGS}" } src_install () { -- 2.26.2