summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-09-04 00:39:59 +0200
committerDavid Seifert <soap@gentoo.org>2021-09-04 00:39:59 +0200
commitf64708850264e93cb54c8857d6eb459a4faf274e (patch)
tree4a098a2718c02aba07e96517ebead171a522e1b9 /eclass/multilib.eclass
parentsys-libs/gdbm: drop autotools inherit in 1.21 (diff)
downloadgentoo-f64708850264e93cb54c8857d6eb459a4faf274e.tar.gz
gentoo-f64708850264e93cb54c8857d6eb459a4faf274e.tar.bz2
gentoo-f64708850264e93cb54c8857d6eb459a4faf274e.zip
multilib.eclass: add OBJCOPY to exception list
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/multilib.eclass')
-rw-r--r--eclass/multilib.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index 67cad9875a12..483f8d10c721 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -496,6 +496,7 @@ multilib_toolchain_setup() {
FC
LD
NM
+ OBJCOPY
OBJDUMP
PKG_CONFIG
RANLIB
@@ -544,6 +545,7 @@ multilib_toolchain_setup() {
export FC="$(tc-getFC) $(get_abi_CFLAGS)"
export LD="$(tc-getLD) $(get_abi_LDFLAGS)"
export NM="$(tc-getNM)" # Avoid 'nm', use '${CHOST}-nm'
+ export OBJCOPY="$(tc-getOBJCOPY)" # Avoid 'objcopy', use '${CHOST}-objcopy'
export OBJDUMP="$(tc-getOBJDUMP)" # Avoid 'objdump', use '${CHOST}-objdump'
export PKG_CONFIG="$(tc-getPKG_CONFIG)"
export RANLIB="$(tc-getRANLIB)" # Avoid 'ranlib', use '${CHOST}-ranlib'