mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
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>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user