toolchain.eclass: drop -g for src_test

I was seriously mistaken on this: `1 file changed, 2228 deletions(-)` when
testing dropping it.

-g ultimately causes many more matches because of debug statements
and it confuses so many tests.

I must have just made an error when testing other big test flag changes
around the time.

This reverts commit 7200aecb3d.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-11-18 11:11:00 +00:00
parent dd5e027ba2
commit 8ff6b44d29
-4
View File
@@ -2270,10 +2270,6 @@ toolchain_src_test() {
GCC_TESTS_CFLAGS+=" -fno-stack-clash-protection"
GCC_TESTS_CXXFLAGS+=" -fno-stack-clash-protection"
# configure defaults to '-O2 -g' and some tests expect it
# accordingly.
GCC_TESTS_CFLAGS+=" -g"
# TODO: Does this handle s390 (-m31) correctly?
# TODO: What if there are multiple ABIs like x32 too?
# XXX: Disabled until validate_failures.py can handle 'variants'