summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-05-24 19:56:49 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-05-24 22:03:29 +0100
commit6185541e3ceaa7471381709cf2fd1e1d51538e8b (patch)
treed2e72646d3edf2826ce17a1399b24d377c853d2f /eclass
parentmedia-libs/x265: switch to cmake-multilib eclass (diff)
downloadgentoo-6185541e3ceaa7471381709cf2fd1e1d51538e8b.tar.gz
gentoo-6185541e3ceaa7471381709cf2fd1e1d51538e8b.tar.bz2
gentoo-6185541e3ceaa7471381709cf2fd1e1d51538e8b.zip
multilib.eclass: don't backup/restore AS
Not needed since Oct 27 2011, commit b0ab4faaee818c7bd5 ("drop AS export since get_abi_ASFLAGS no longer exists"), Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/multilib.eclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index acfb78deab1f..857829dd17b2 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -458,7 +458,7 @@ multilib_toolchain_setup() {
# First restore any saved state we have laying around.
if [[ ${_DEFAULT_ABI_SAVED} == "true" ]] ; then
- for v in CHOST CBUILD AS CC CXX F77 FC LD PKG_CONFIG_{LIBDIR,PATH} ; do
+ for v in CHOST CBUILD CC CXX F77 FC LD PKG_CONFIG_{LIBDIR,PATH} ; do
vv="_abi_saved_${v}"
[[ ${!vv+set} == "set" ]] && export ${v}="${!vv}" || unset ${v}
unset ${vv}
@@ -466,11 +466,9 @@ multilib_toolchain_setup() {
unset _DEFAULT_ABI_SAVED
fi
- # We want to avoid the behind-the-back magic of gcc-config as it
- # screws up ccache and distcc. See #196243 for more info.
if [[ ${ABI} != ${DEFAULT_ABI} ]] ; then
# Back that multilib-ass up so we can restore it later
- for v in CHOST CBUILD AS CC CXX F77 FC LD PKG_CONFIG_{LIBDIR,PATH} ; do
+ for v in CHOST CBUILD CC CXX F77 FC LD PKG_CONFIG_{LIBDIR,PATH} ; do
vv="_abi_saved_${v}"
[[ ${!v+set} == "set" ]] && export ${vv}="${!v}" || unset ${vv}
done