summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-12-12 07:36:32 +0000
committerSam James <sam@gentoo.org>2024-12-12 07:46:55 +0000
commit6d18ca00e9b8cc2b0a6d931eff5ecd9802dc8b37 (patch)
tree42f423b5ec99cfa51aa50bc8c4edfeb51472b2cd
parenttoolchain.eclass: allow overriding GCC_RUN_FIXINCLUDES (diff)
downloadgentoo-6d18ca00e9b8cc2b0a6d931eff5ecd9802dc8b37.tar.gz
gentoo-6d18ca00e9b8cc2b0a6d931eff5ecd9802dc8b37.tar.bz2
gentoo-6d18ca00e9b8cc2b0a6d931eff5ecd9802dc8b37.zip
toolchain.eclass: tidy up fixincludes comment
It's not particularly useful these days. Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 1 insertions, 5 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 55db818f6233..6584e57fb0fd 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -2494,11 +2494,7 @@ toolchain_src_install() {
if [[ ${GCC_RUN_FIXINCLUDES} == 0 ]] ; then
# We remove the generated fixincludes, as they can cause things to break
- # (ncurses, openssl, etc). We do not prevent them from being built, as
- # in the following commit which we revert:
- # https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.647&r2=1.648
- # This is because bsd userland needs fixedincludes to build gcc, while
- # linux does not. Both can dispose of them afterwards.
+ # (ncurses, openssl, etc).
while read x ; do
grep -q 'It has been auto-edited by fixincludes from' "${x}" \
&& rm -f "${x}"