commit: a0767621299b316a2e451a890e82c4672abd3891
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 11 19:09:29 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 11 19:27:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0767621
toolchain.eclass: add comment explaining --with-newlib
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/toolchain.eclass | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 573471351dd1..c900e2051cd1 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1252,7 +1252,10 @@ toolchain_src_configure() {
# ;;
# esac
- ### Cross-compiler options
+ ### Cross-compiler option
+ #
+ # Note that 'newlib' here doesn't have to mean genuine newlib.
+ # See https://gcc.gnu.org/pipermail/gcc/2014-January/211653.html.
if is_crosscompile ; then
# Enable build warnings by default with cross-compilers when
system
# paths are included (e.g. via -I flags).