summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/nvme-cli/nvme-cli-0.6.ebuild6
-rw-r--r--sys-apps/nvme-cli/nvme-cli-0_pre20150821.ebuild6
2 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/nvme-cli/nvme-cli-0.6.ebuild b/sys-apps/nvme-cli/nvme-cli-0.6.ebuild
index ea0ac8934b50..63984459755b 100644
--- a/sys-apps/nvme-cli/nvme-cli-0.6.ebuild
+++ b/sys-apps/nvme-cli/nvme-cli-0.6.ebuild
@@ -4,6 +4,8 @@
EAPI=6
+inherit toolchain-funcs
+
DESCRIPTION="NVM-Express user space tooling for Linux"
HOMEPAGE="https://github.com/linux-nvme/nvme-cli"
SRC_URI="https://github.com/linux-nvme/nvme-cli/archive/v${PV}.tar.gz"
@@ -24,6 +26,10 @@ src_prepare() {
default
}
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
src_install() {
emake DESTDIR="${D}" PREFIX=/usr install
}
diff --git a/sys-apps/nvme-cli/nvme-cli-0_pre20150821.ebuild b/sys-apps/nvme-cli/nvme-cli-0_pre20150821.ebuild
index 56a32344df46..997f71995782 100644
--- a/sys-apps/nvme-cli/nvme-cli-0_pre20150821.ebuild
+++ b/sys-apps/nvme-cli/nvme-cli-0_pre20150821.ebuild
@@ -4,6 +4,8 @@
EAPI=5
+inherit toolchain-funcs
+
DESCRIPTION="NVM-Express user space tooling for Linux"
HOMEPAGE="https://github.com/linux-nvme/nvme-cli"
EGIT_COMMIT="709571d77bf618921fd719253da677742c673d06"
@@ -24,6 +26,10 @@ src_prepare() {
-i Documentation/Makefile || die
}
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
src_install() {
emake DESTDIR="${D}" PREFIX=/usr install
}