]> git.ipfire.org Git - thirdparty/gcc.git/commit
contrib: Use config.sub in test_installed
authorJoseph Myers <josmyers@redhat.com>
Thu, 11 Dec 2025 23:20:54 +0000 (23:20 +0000)
committerJoseph Myers <josmyers@redhat.com>
Thu, 11 Dec 2025 23:20:54 +0000 (23:20 +0000)
commit311d2829db18a24c2e46d0434f463ebc1df00a56
treece34fe1ee439102aa12955c0f26c5e9402dbcd35
parent89110c5386b69391fe7ec549f89cdf89c7ab3a81
contrib: Use config.sub in test_installed

Correctly running GCC testsuites with an installed compiler requires
both the canonical and noncanonical versions of the target triplet:
the canonical one for where the testsuite matches on target triplets,
and the noncanonical one for various "transform" calls used to find
binutils programs.  Make test_installed use config.sub to determine
the canonical target from any value passed with --target= (and thus
make logic to locate the toplevel source directory from its own
location unconditional, as it's now used to locate config.sub).

* test_installed: Use config.sub to determine canonical target.
contrib/test_installed