Gentoo Archives: gentoo-user

From: Ian Zimmerman <itz@××××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Is ABI a portage variable?
Date: Fri, 16 Feb 2018 19:58:04
Message-Id: 20180216195746.fnz4rdsna7tz6x5z@matica.foolinux.mooo.com
In Reply to: Re: [gentoo-user] Is ABI a portage variable? by Mike Gilbert
1 On 2018-02-16 11:14, Mike Gilbert wrote:
2
3 > ABI is a profile variable. On an amd64 system it is defined in
4 > profiles/arch/amd64/make.defaults.
5 >
6 > The ABI variable is used by functions in multilib.eclass,
7 > toolchain-funcs.eclass, and the econf function to determine the
8 > correct libdir (lib, lib32, lib64, etc).
9 >
10 > For an autotools build, you will probably want to call the econf
11 > function, so unsetting ABI is a bad idea. Instead, you probably want
12 > to "unexport" it (export -n). This will allow econf to see it, but the
13 > value will not be inherited by configure.
14 >
15 > src_configure() {
16 > export -n ABI
17 > econf
18 > }
19
20 Thanks for this thorough and relevant answer.
21
22 --
23 Please don't Cc: me privately on mailing lists and Usenet,
24 if you also post the followup to the list or newsgroup.
25 To reply privately _only_ on Usenet and on broken lists
26 which rewrite From, fetch the TXT record for no-use.mooo.com.