mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
profiles/features/prefix/standalone: fix GCC sed for 12+
GCC 12 renamed a bunch of .c -> .cc. Reported by Ionen. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -26,7 +26,7 @@ if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; the
|
||||
EXTRA_ECONF="${EXTRA_ECONF} --with-sysroot=${EPREFIX}"
|
||||
|
||||
ebegin "remove --sysroot call on ld for native toolchain"
|
||||
sed -i 's/--sysroot=%R//' gcc/gcc.c
|
||||
sed -i 's/--sysroot=%R//' gcc/gcc.c*
|
||||
eend $?
|
||||
elif [[ ${CATEGORY}/${PN} == sys-devel/clang && ${EBUILD_PHASE} == configure ]]; then
|
||||
ebegin "Use ${EPREFIX} as default sysroot"
|
||||
|
||||
Reference in New Issue
Block a user