diff options
author | Maciej W. Rozycki <macro@wdc.com> | 2020-04-06 23:32:45 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@wdc.com> | 2020-04-06 23:32:45 +0100 |
commit | 749bd22ddc50b5112e5ed506ffef7249bf8e6fb3 (patch) | |
tree | 4ab4c9318f014f4494a32933abab33abac3fc36c /libgomp/configure | |
parent | 5ff06d762a88077aff0fb637c931c64e6f47f93d (diff) | |
download | gcc-749bd22ddc50b5112e5ed506ffef7249bf8e6fb3.zip gcc-749bd22ddc50b5112e5ed506ffef7249bf8e6fb3.tar.gz gcc-749bd22ddc50b5112e5ed506ffef7249bf8e6fb3.tar.bz2 |
libgomp/test: Remove a build sysroot fix regression
Fix a problem with commit c8e759b4215b ("libgomp/test: Fix compilation
for build sysroot") that caused a regression in some standalone test
environments where testsuite/libgomp-test-support.exp is used, but the
compiler is expected to be determined by `[find_gcc]', and set the
GCC_UNDER_TEST TCL variable in testsuite/libgomp-site-extra.exp instead.
libgomp/
* configure.ac: Add testsuite/libgomp-site-extra.exp to output
files.
* configure: Regenerate.
* testsuite/libgomp-site-extra.exp.in: New file.
* testsuite/libgomp-test-support.exp.in (GCC_UNDER_TEST): Remove
variable.
* testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
variable.
* testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'libgomp/configure')
-rwxr-xr-x | libgomp/configure | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgomp/configure b/libgomp/configure index b0efd87..d8d98f1 100755 --- a/libgomp/configure +++ b/libgomp/configure @@ -17047,6 +17047,8 @@ ac_config_files="$ac_config_files Makefile testsuite/Makefile libgomp.spec" ac_config_files="$ac_config_files testsuite/libgomp-test-support.pt.exp:testsuite/libgomp-test-support.exp.in" +ac_config_files="$ac_config_files testsuite/libgomp-site-extra.exp" + cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -18200,6 +18202,7 @@ do "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;; "libgomp.spec") CONFIG_FILES="$CONFIG_FILES libgomp.spec" ;; "testsuite/libgomp-test-support.pt.exp") CONFIG_FILES="$CONFIG_FILES testsuite/libgomp-test-support.pt.exp:testsuite/libgomp-test-support.exp.in" ;; + "testsuite/libgomp-site-extra.exp") CONFIG_FILES="$CONFIG_FILES testsuite/libgomp-site-extra.exp" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac |