mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
toolchain.eclass: use lib*, not get_libdir for cross
get_libdir isn't right for ROOT and cross-compilation. Closes: https://bugs.gentoo.org/908455 Bug: https://bugs.gentoo.org/794181 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -2749,7 +2749,9 @@ gcc_movelibs() {
|
||||
# code to run on the target.
|
||||
if is_crosscompile ; then
|
||||
dodir "${HOSTLIBPATH#${EPREFIX}}"
|
||||
mv "${ED}"/usr/$(get_libdir)/libcc1* "${D}${HOSTLIBPATH}" || die
|
||||
# XXX: Ideally, we'd use $(get_libdir) here, but it's
|
||||
# not right for cross. See bug #942573 and bug #794181.
|
||||
mv "${ED}"/usr/lib*/libcc1* "${D}${HOSTLIBPATH}" || die
|
||||
fi
|
||||
|
||||
# libgccjit gets installed to /usr/lib, not /usr/$(get_libdir). Probably
|
||||
|
||||
Reference in New Issue
Block a user