Signed-off-by: David Seifert <s...@gentoo.org>
---
 eclass/multilib-build.eclass | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass
index 76948baf539..1ea31c0a79e 100644
--- a/eclass/multilib-build.eclass
+++ b/eclass/multilib-build.eclass
@@ -574,6 +574,15 @@ multilib_native_use() {
        multilib_is_native_abi && use "$@"
 }
 
+# @FUNCTION: multilib_native_usev
+# @USAGE: <flag> [<opt-value>]
+# @DESCRIPTION:
+# Like the standard usev command, but only prints output
+# if multilib_is_native_abi and usev <flag> are true.
+multilib_native_usev() {
+       multilib_is_native_abi && usev "$@"
+}
+
 # @FUNCTION: multilib_native_use_with
 # @USAGE: <flag> [<opt-name> [<opt-value>]]
 # @DESCRIPTION:
-- 
2.37.2


Reply via email to