From 1975b0bb9e07557c0a7b06c53b4e78950fe46eda Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 24 May 2020 21:40:50 +0100 Subject: multilib.eclass: save/restore AR, NM, RANLIB, OBJDUMP, STRIP, bug #724558 A follow-up to commit dd35b529194fdc ("populate AR, NM, RANLIB, OBJDUMP, STRIP, bug #724558") Before the change AR and friends were set for non-default ABI and were not restored to defaults for next native ABI. It should not be a problem for default case as both do match. For consistency with other variables now we restore possibly unset values for native ABI. Noticed by Arfrever Frehtes Taifersar Arahesis. Reported-by: Arfrever Frehtes Taifersar Arahesis Bug: https://bugs.gentoo.org/724558 Signed-off-by: Sergei Trofimovich --- eclass/multilib.eclass | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'eclass') diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index e13aae2bb7f7..b79718bb193e 100644 --- a/eclass/multilib.eclass +++ b/eclass/multilib.eclass @@ -459,11 +459,16 @@ multilib_toolchain_setup() { local save_restore_variables=( CBUILD CHOST + AR CC CXX F77 FC LD + NM + OBJDUMP + RANLIB + STRIP PKG_CONFIG_LIBDIR PKG_CONFIG_PATH ) -- cgit v1.2.3-65-gdbad