summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-03-08 11:56:49 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-03-08 11:56:49 +0000
commit13af01856b3367c960307b290cc99b50373d8927 (patch)
treeabd77581411ee54ccfbf1463c24f99123b42dc6a /eclass/multilib.eclass
parentDon't set ABI=default as it causes econf to add --libdir for archs where it u... (diff)
downloadgentoo-2-13af01856b3367c960307b290cc99b50373d8927.tar.gz
gentoo-2-13af01856b3367c960307b290cc99b50373d8927.tar.bz2
gentoo-2-13af01856b3367c960307b290cc99b50373d8927.zip
Don't set ABI=default as it causes econf to add --libdir for archs where it used to not add it.
Diffstat (limited to 'eclass/multilib.eclass')
-rw-r--r--eclass/multilib.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index def88d98bbd0..147ebb8f3268 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.25 2005/03/08 11:55:55 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.26 2005/03/08 11:56:49 eradicator Exp $
#
# Author: Jeremy Huddleston <eradicator@gentoo.org>
#
@@ -175,6 +175,8 @@ get_abi_var() {
local abi
if [ $# -gt 1 ]; then
abi=${2}
+ elif [ -n "${ABI}" ]; then
+ abi=${ABI}
elif [ -n "${DEFAULT_ABI}" ]; then
abi=${DEFAULT_ABI}
else