summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2020-06-08 07:26:01 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2020-06-08 07:26:01 +0200
commite8f6c3f45cfbd448fa2febaad62f52ae73c8e773 (patch)
treed4fd6388e1cea1c89f1bcfd092a551e84dd2c97f /net-misc
parentnet-misc/linuxptp: Drop old (diff)
downloadgentoo-e8f6c3f45cfbd448fa2febaad62f52ae73c8e773.tar.gz
gentoo-e8f6c3f45cfbd448fa2febaad62f52ae73c8e773.tar.bz2
gentoo-e8f6c3f45cfbd448fa2febaad62f52ae73c8e773.zip
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@gentoo.org>
Diffstat (limited to 'net-misc')
-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 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() {