gofrontend/libgo/testsuite
Ian Lance Taylor 967a215d64 libgo: fix DejaGNU testsuite compiler when using build sysroot
Patch from Thomas Schwinge.

	PR testsuite/109951
	libgo/
	* 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.

Change-Id: I30f38fc01744c78f2e29ee81d25cfb4309749b38
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/527755
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
2023-09-12 20:18:17 +00:00
..
config
lib
libgo.testmain
Makefile.am
Makefile.in
gotest
libgo-test-support.exp.in