summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-29 13:44:43 +0000
committerSam James <sam@gentoo.org>2022-06-29 14:29:46 +0000
commit6a7bc278de50e4f3dc4e88338b59b047bd093d10 (patch)
tree6a1dca005d6a2eaf61987a9e6dcba115d52a3f3d
parentdev-perl/Crypt-Random: update EAPI 6 -> 8 (diff)
downloadgentoo-6a7bc278de50e4f3dc4e88338b59b047bd093d10.tar.gz
gentoo-6a7bc278de50e4f3dc4e88338b59b047bd093d10.tar.bz2
gentoo-6a7bc278de50e4f3dc4e88338b59b047bd093d10.zip
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>
-rw-r--r--profiles/features/prefix/standalone/profile.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/features/prefix/standalone/profile.bashrc b/profiles/features/prefix/standalone/profile.bashrc
index 5423535d0fc9..d23eeb81797d 100644
--- a/profiles/features/prefix/standalone/profile.bashrc
+++ b/profiles/features/prefix/standalone/profile.bashrc
@@ -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"