commit:     ec6893633b15b218cddad2338eb43ffff36a1fe8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  8 10:17:13 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug  8 10:29:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec689363

toolchain.eclass: add note re (intended) duplication of CFLAGS et. al

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 86a29f5aacb8..37db6e0165f4 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1957,6 +1957,9 @@ toolchain_src_test() {
 
                # nonfatal here as we die if the comparison below fails. Also, 
note that
                # the exit code of targets other than 'check' may be unreliable.
+               #
+               # CFLAGS and so on are repeated here because of tests vs 
building test
+               # deps like libbacktrace.
                nonfatal emake -C "${WORKDIR}"/build -k 
"${GCC_TESTS_CHECK_TARGET}" \
                        RUNTESTFLAGS=" \
                                ${GCC_TESTS_RUNTESTFLAGS} \

Reply via email to