1 |
commit: 6a7bc278de50e4f3dc4e88338b59b047bd093d10 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 13:44:43 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 14:29:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7bc278 |
7 |
|
8 |
profiles/features/prefix/standalone: fix GCC sed for 12+ |
9 |
|
10 |
GCC 12 renamed a bunch of .c -> .cc. Reported by Ionen. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
profiles/features/prefix/standalone/profile.bashrc | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/profiles/features/prefix/standalone/profile.bashrc b/profiles/features/prefix/standalone/profile.bashrc |
18 |
index 5423535d0fc9..d23eeb81797d 100644 |
19 |
--- a/profiles/features/prefix/standalone/profile.bashrc |
20 |
+++ b/profiles/features/prefix/standalone/profile.bashrc |
21 |
@@ -26,7 +26,7 @@ if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; the |
22 |
EXTRA_ECONF="${EXTRA_ECONF} --with-sysroot=${EPREFIX}" |
23 |
|
24 |
ebegin "remove --sysroot call on ld for native toolchain" |
25 |
- sed -i 's/--sysroot=%R//' gcc/gcc.c |
26 |
+ sed -i 's/--sysroot=%R//' gcc/gcc.c* |
27 |
eend $? |
28 |
elif [[ ${CATEGORY}/${PN} == sys-devel/clang && ${EBUILD_PHASE} == configure ]]; then |
29 |
ebegin "Use ${EPREFIX} as default sysroot" |