From: Jeroen Roovers Date: Wed, 23 Oct 2019 08:30:21 +0000 (+0200) Subject: net-analyzer/netselect: Respect CC, use CFLAGS while linking X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8ed2ae42d9e1a2c3df7ed8f116d7ab470de4358a;p=gentoo.git 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 --- 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 () {