summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-libs/pkgcraft/pkgcraft-0.0.4.ebuild6
-rw-r--r--sys-libs/pkgcraft/pkgcraft-9999.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys-libs/pkgcraft/pkgcraft-0.0.4.ebuild b/sys-libs/pkgcraft/pkgcraft-0.0.4.ebuild
index ae743b97825e..01fb4c382240 100644
--- a/sys-libs/pkgcraft/pkgcraft-0.0.4.ebuild
+++ b/sys-libs/pkgcraft/pkgcraft-0.0.4.ebuild
@@ -152,7 +152,7 @@ CRATES+="
pkgcraft-c-${PV}
"
-inherit edo cargo
+inherit edo cargo toolchain-funcs
DESCRIPTION="C library for pkgcraft"
HOMEPAGE="https://pkgcraft.github.io/"
@@ -203,6 +203,10 @@ src_compile() {
--libdir="/usr/$(get_libdir)"
)
+ # For scallop building bash
+ tc-export AR CC
+
+ # Can pass -vv if need more output from e.g. scallop configure
edo cargo cbuild "${cargoargs[@]}"
}
diff --git a/sys-libs/pkgcraft/pkgcraft-9999.ebuild b/sys-libs/pkgcraft/pkgcraft-9999.ebuild
index ae743b97825e..01fb4c382240 100644
--- a/sys-libs/pkgcraft/pkgcraft-9999.ebuild
+++ b/sys-libs/pkgcraft/pkgcraft-9999.ebuild
@@ -152,7 +152,7 @@ CRATES+="
pkgcraft-c-${PV}
"
-inherit edo cargo
+inherit edo cargo toolchain-funcs
DESCRIPTION="C library for pkgcraft"
HOMEPAGE="https://pkgcraft.github.io/"
@@ -203,6 +203,10 @@ src_compile() {
--libdir="/usr/$(get_libdir)"
)
+ # For scallop building bash
+ tc-export AR CC
+
+ # Can pass -vv if need more output from e.g. scallop configure
edo cargo cbuild "${cargoargs[@]}"
}