eclass/toolchain.eclass: mask LIBPATH for cross-case, bug #692844
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 25 Aug 2019 09:23:54 +0000 (10:23 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 25 Aug 2019 09:40:18 +0000 (10:40 +0100)
commit35e71fcd352e9113c55447b66f6a93e164839dd7
tree9c4e35a9b7a5bd0529966bc5b2c0685273c89572
parent1c343801d651e367999571911322e232e5e37bc4
eclass/toolchain.eclass: mask LIBPATH for cross-case, bug #692844

/usr/lib/gcc/${CTARGET}/${GCC_CONFIG_VER} contains libraries
destined to be used by ${CTARGET}. revdep-rebuild complains
about missing dependencies against them as we don't populate
LDPATH (or anything else) for them.

The change populates /etc/revdep-rebuild/05cross-${CTARGET}-${GCC_CONFIG_VER}
with a single entry:
    SEARCH_DIRS_MASK="/usr/lib/gcc/${CTARGET}/${GCC_CONFIG_VER}"

crossdev will still own root's SEARCH_DIRS_MASK="/usr/${CTARGET}".

Reported-by: crocket
Closes: https://bugs.gentoo.org/692844
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
eclass/toolchain.eclass