diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-10-23 10:30:21 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-10-23 10:34:37 +0200 |
commit | 8ed2ae42d9e1a2c3df7ed8f116d7ab470de4358a (patch) | |
tree | c20f47ea408ff12fe221d14ca61f5fd9f5caca81 /net-analyzer/netselect | |
parent | net-libs/nodejs: Set PYTHON_REQ_USE="threads(+)" (diff) | |
download | gentoo-8ed2ae42d9e1a2c3df7ed8f116d7ab470de4358a.tar.gz gentoo-8ed2ae42d9e1a2c3df7ed8f116d7ab470de4358a.tar.bz2 gentoo-8ed2ae42d9e1a2c3df7ed8f116d7ab470de4358a.zip |
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@gentoo.org>
Diffstat (limited to 'net-analyzer/netselect')
-rw-r--r-- | net-analyzer/netselect/netselect-0.4-r1.ebuild (renamed from net-analyzer/netselect/netselect-0.4.ebuild) | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net-analyzer/netselect/netselect-0.4.ebuild b/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 () { |