From e8f6c3f45cfbd448fa2febaad62f52ae73c8e773 Mon Sep 17 00:00:00 2001 From: Thomas Beierlein Date: Mon, 8 Jun 2020 07:26:01 +0200 Subject: net-misc/linuxptp: Use $CC for compilation Closes: https://bugs.gentoo.org/725180 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Thomas Beierlein --- net-misc/linuxptp/linuxptp-2.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net-misc/linuxptp') diff --git a/net-misc/linuxptp/linuxptp-2.0.ebuild b/net-misc/linuxptp/linuxptp-2.0.ebuild index 1f775563d4bd..716fbf22a46d 100644 --- a/net-misc/linuxptp/linuxptp-2.0.ebuild +++ b/net-misc/linuxptp/linuxptp-2.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit linux-info +inherit linux-info toolchain-funcs DESCRIPTION="The Linux Precision Time Protocol (PTP) implementation" HOMEPAGE="http://linuxptp.sourceforge.net/" @@ -21,7 +21,7 @@ CONFIG_CHECK="~PPS ~NETWORK_PHY_TIMESTAMPING ~PTP_1588_CLOCK" src_compile() { export EXTRA_CFLAGS=${CFLAGS} - emake prefix=/usr mandir=/usr/share/man + emake CC="$(tc-getCC)" prefix=/usr mandir=/usr/share/man } src_install() { -- cgit v1.2.3-65-gdbad