aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory M. Tuner <gmt@be-evil.net>2013-12-05 16:39:05 -0800
committerGregory M. Tuner <gmt@be-evil.net>2013-12-05 16:39:05 -0800
commite1286ce2c922aed126a335169044071efc33f161 (patch)
tree148e1eaaca2169309240af19e1b82e13c2488a75 /eclass/multilib-build.eclass
parentmedia-libs/libggi: avoid multilib_enabled_abi_count (diff)
downloadgmt-e1286ce2c922aed126a335169044071efc33f161.tar.gz
gmt-e1286ce2c922aed126a335169044071efc33f161.tar.bz2
gmt-e1286ce2c922aed126a335169044071efc33f161.zip
Revert "eclass/multilib-build: add multilib_enabled_abi_count function"
This reverts commit 222369f7601576eb846b2606a775a0a0f16261ba. Upstream won't take it, so I'll have to do without.
Diffstat (limited to 'eclass/multilib-build.eclass')
-rw-r--r--eclass/multilib-build.eclass14
1 files changed, 0 insertions, 14 deletions
diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass
index ab3f3b6..1a5c08f 100644
--- a/eclass/multilib-build.eclass
+++ b/eclass/multilib-build.eclass
@@ -110,20 +110,6 @@ multilib_get_enabled_abis() {
fi
}
-# @FUNCTION: multilib_enabled_abi_count
-# @DESCRIPTION:
-# Return (by printing to stdout) the number of enabled
-# ABI's if multilib builds are enabled, or "1".
-# Simply counts the results of multilib_get_enabled_abis
-multilib_enabled_abi_count() {
- debug-print-function "${FUNCNAME}" "$@"
-
- declare -a abis=( $(multilib_get_enabled_abis) )
- local result=${#abis[@]}
- (( result < 1 )) && result=1
- echo "${result}"
-}
-
# @FUNCTION: _multilib_multibuild_wrapper
# @USAGE: <argv>...
# @INTERNAL