commit:     8ed2ae42d9e1a2c3df7ed8f116d7ab470de4358a
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 23 08:30:21 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 08:34:37 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed2ae42

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 <jer <AT> gentoo.org>

 .../netselect/{netselect-0.4.ebuild => netselect-0.4-r1.ebuild}       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 18559af3f1e..20dbb56b53c 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 () {

Reply via email to