From ec6893633b15b218cddad2338eb43ffff36a1fe8 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 8 Aug 2024 11:17:13 +0100 Subject: toolchain.eclass: add note re (intended) duplication of CFLAGS et. al Signed-off-by: Sam James --- 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} \ -- cgit v1.2.3-65-gdbad