summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/linuxptp/linuxptp-2.0.ebuild')
-rw-r--r--net-misc/linuxptp/linuxptp-2.0.ebuild4
1 files 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() {