]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite, Darwin: Adjust target test for modern OS.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 26 Oct 2023 19:10:01 +0000 (20:10 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Thu, 26 Oct 2023 19:23:46 +0000 (20:23 +0100)
The same conditions on use of DYLD_LIBRARY_PATH apply to OS versions
11 to 14, so make the test general.

gcc/testsuite/ChangeLog:

* lib/target-libpath.exp: Skip DYLD_LIBRARY_PATH for all
current OS versions > 10.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/testsuite/lib/target-libpath.exp

index 36b64dd45501814ac22ffa02ecb41af31b585049..5dbb2d3a734fd5cf6affe0c79a898e73f27a886f 100644 (file)
@@ -171,7 +171,7 @@ proc set_ld_library_path_env_vars { } {
   }
   if { [istarget *-*-darwin*] } {
     if { [info exists ENABLE_DARWIN_AT_RPATH] || [istarget *-*-darwin1\[5-9\]*]
-         || [istarget *-*-darwin20*] } {
+         || [istarget *-*-darwin2*] } {
       # Either we are not using DYLD_LIBRARY_PATH or we're on a version of the
       # OS for which it is not passed through system exes.
       if [info exists env(DYLD_LIBRARY_PATH)] {