diff options
author | Sam James <sam@gentoo.org> | 2023-01-23 04:10:38 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-23 04:12:31 +0000 |
commit | 571c167fa4755de54df7ac9d0992a269a63eb675 (patch) | |
tree | 1a5a64bc020df461f7a40d2dfcb48f5119614df2 /sys-libs | |
parent | sys-libs/pkgcraft: add clang BDEPEND for bindgen (diff) | |
download | gentoo-571c167fa4755de54df7ac9d0992a269a63eb675.tar.gz gentoo-571c167fa4755de54df7ac9d0992a269a63eb675.tar.bz2 gentoo-571c167fa4755de54df7ac9d0992a269a63eb675.zip |
sys-libs/pkgcraft: respect AR/CC when building scallop's bash
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/pkgcraft/pkgcraft-0.0.4.ebuild | 6 | ||||
-rw-r--r-- | sys-libs/pkgcraft/pkgcraft-9999.ebuild | 6 |
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[@]}" } |