https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109951
--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Ian Lance Taylor <i...@gcc.gnu.org>: https://gcc.gnu.org/g:08dfde5a30ca818715e6d2bc2f2b592f8a98af77 commit r14-3909-g08dfde5a30ca818715e6d2bc2f2b592f8a98af77 Author: Ian Lance Taylor <i...@golang.org> Date: Tue Sep 12 09:11:48 2023 -0700 libgo: fix DejaGNU testsuite compiler when using build sysroot Patch from Thomas Schwinge. PR testsuite/109951 * configure.ac: 'AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)'. * Makefile.in: Regenerate. * configure: Likewise. * testsuite/Makefile.in: Likewise. * testsuite/lib/libgo.exp (libgo_init): If '--with-build-sysroot=[...]' was specified, use it for build-tree testing. * testsuite/libgo-test-support.exp.in (GOC_UNDER_TEST): Don't set. (SYSROOT_CFLAGS_FOR_TARGET): Set. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/527755