commit:     c87ab053be64e6c9f7b9e4ab1cca3099e37471f0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  9 11:37:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug  9 11:38:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c87ab053

toolchain.eclass: drop *_FOR_TARGET in src_test

We seem to fail way more tests like the gcov ones for this, I guess
it overrides the flags it adds somehow.

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

 eclass/toolchain.eclass | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 89af435dfbf6..1797fc59cf88 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1979,18 +1979,12 @@ toolchain_src_test() {
                nonfatal emake -C "${WORKDIR}"/build -k 
"${GCC_TESTS_CHECK_TARGET}" \
                        RUNTESTFLAGS=" \
                                ${GCC_TESTS_RUNTESTFLAGS} \
-                               
CFLAGS_FOR_TARGET='${CFLAGS_FOR_TARGET:-${CFLAGS}}' \
-                               
CXXFLAGS_FOR_TARGET='${CXXFLAGS_FOR_TARGET:-${CXXFLAGS}}' \
-                               
LDFLAGS_FOR_TARGET='${LDFLAGS_FOR_TARGET:-${LDFLAGS}}' \
                                CFLAGS='${CFLAGS}' \
                                CXXFLAGS='${CXXFLAGS}' \
                                FCFLAGS='${FCFLAGS}' \
                                FFLAGS='${FFLAGS}' \
                                LDFLAGS='${LDFLAGS}' \
                        " \
-                       CFLAGS_FOR_TARGET="${CFLAGS_FOR_TARGET:-${CFLAGS}}" \
-                       
CXXFLAGS_FOR_TARGET="${CXXFLAGS_FOR_TARGET:-${CXXFLAGS}}" \
-                       LDFLAGS_FOR_TARGET="${LDFLAGS_FOR_TARGET:-${LDFLAGS}}" \
                        CFLAGS="${CFLAGS}" \
                        CXXFLAGS="${CXXFLAGS}" \
                        FCFLAGS="${FCFLAGS}" \

Reply via email to