commit: e8f6c3f45cfbd448fa2febaad62f52ae73c8e773 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> AuthorDate: Mon Jun 8 05:26:01 2020 +0000 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> CommitDate: Mon Jun 8 05:26:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8f6c3f4
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 <tomjbe <AT> gentoo.org> net-misc/linuxptp/linuxptp-2.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/linuxptp/linuxptp-2.0.ebuild b/net-misc/linuxptp/linuxptp-2.0.ebuild index 1f775563d4b..716fbf22a46 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() {