diff options
-rw-r--r-- | dev-util/samurai/samurai-1.2-r1.ebuild | 6 | ||||
-rw-r--r-- | dev-util/samurai/samurai-9999.ebuild | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-util/samurai/samurai-1.2-r1.ebuild b/dev-util/samurai/samurai-1.2-r1.ebuild index ad8d964b12b3..c2072fc277b1 100644 --- a/dev-util/samurai/samurai-1.2-r1.ebuild +++ b/dev-util/samurai/samurai-1.2-r1.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit toolchain-funcs + DESCRIPTION="ninja-compatible build tool written in C" HOMEPAGE="https://github.com/michaelforney/samurai" if [[ "${PV}" == *9999 ]] ; then @@ -20,6 +22,10 @@ PATCHES=( "${FILESDIR}/${P}-null_pointer_fix.patch" #786957 ) +src_compile() { + emake CC="$(tc-getCC)" +} + src_install() { emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install dodoc README.md diff --git a/dev-util/samurai/samurai-9999.ebuild b/dev-util/samurai/samurai-9999.ebuild index 4333d1997bfa..6895ee86fc65 100644 --- a/dev-util/samurai/samurai-9999.ebuild +++ b/dev-util/samurai/samurai-9999.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit toolchain-funcs + DESCRIPTION="ninja-compatible build tool written in C" HOMEPAGE="https://github.com/michaelforney/samurai" if [[ "${PV}" == *9999 ]] ; then @@ -16,6 +18,10 @@ fi LICENSE="ISC Apache-2.0 MIT" SLOT="0" +src_compile() { + emake CC="$(tc-getCC)" +} + src_install() { emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install dodoc README.md |