summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-05-18 13:45:14 -0400
committerMike Gilbert <floppym@gentoo.org>2020-05-18 13:45:14 -0400
commit19128fffe6c491ef0b3b913b38904fdad488ea2a (patch)
treebf0bec412cd9cfbbb714926c9e9f6accc442f08d /sys-libs
parentdev-ros/turtle_tf: eapi7 (diff)
downloadgentoo-19128fffe6c491ef0b3b913b38904fdad488ea2a.tar.gz
gentoo-19128fffe6c491ef0b3b913b38904fdad488ea2a.tar.bz2
gentoo-19128fffe6c491ef0b3b913b38904fdad488ea2a.zip
sys-libs/libcap: export toolchain vars before doing multilib configure
Closes: https://bugs.gentoo.org/723790 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libcap/libcap-2.34.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-libs/libcap/libcap-2.34.ebuild b/sys-libs/libcap/libcap-2.34.ebuild
index 7f92bd0655d5..3546067e15c6 100644
--- a/sys-libs/libcap/libcap-2.34.ebuild
+++ b/sys-libs/libcap/libcap-2.34.ebuild
@@ -51,11 +51,13 @@ run_emake() {
emake "${args[@]}" "$@"
}
-multilib_src_compile() {
+src_configure() {
tc-export AR CC RANLIB
- local BUILD_CC
tc-export_build_env BUILD_CC
+ multilib-minimal_src_configure
+}
+multilib_src_compile() {
run_emake
}