sys-libs/libcap: export toolchain vars before doing multilib configure
authorMike Gilbert <floppym@gentoo.org>
Mon, 18 May 2020 17:45:14 +0000 (13:45 -0400)
committerMike Gilbert <floppym@gentoo.org>
Mon, 18 May 2020 17:45:14 +0000 (13:45 -0400)
Closes: https://bugs.gentoo.org/723790
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
sys-libs/libcap/libcap-2.34.ebuild

index 7f92bd0655d578897d6e797489feeb6798460a9d..3546067e15c6a5528ca4687e00304b7508335ff2 100644 (file)
@@ -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
 }