multilib.eclass: save/restore AR, NM, RANLIB, OBJDUMP, STRIP, bug #724558
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 24 May 2020 20:40:50 +0000 (21:40 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 24 May 2020 21:03:30 +0000 (22:03 +0100)
commit1975b0bb9e07557c0a7b06c53b4e78950fe46eda
tree79f7f0348f505e85f1b22165ff4f9b837f35ba05
parent0e7dee6536e88f69e96809f03dbab4861f81938b
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 <slyfox@gentoo.org>
eclass/multilib.eclass