================ @@ -174,25 +174,26 @@ // Test implicit library search paths are supplied to the linker, after any // search paths specified by the user. <sdk-root>/target/lib is implicitly -// added if it exists and no --sysroot is specified. CRT objects are found -// there. "." is always implicitly added to library search paths. This is -// long-standing behavior, unique to PlayStation toolchains. +// added if it exists. CRT objects are found there. "." is always implicitly +// added to library search paths. This is long-standing behavior, unique to +// PlayStation toolchains. // RUN: rm -rf %t.dir && mkdir %t.dir // RUN: env SCE_PROSPERO_SDK_DIR=%t.dir %clang --target=x64_64-sie-ps5 %s -### -Luser 2>&1 | FileCheck --check-prefixes=CHECK-NO-TARGETLIB %s -// RUN: env SCE_PROSPERO_SDK_DIR=%t.dir %clang --target=x64_64-sie-ps5 %s -### -Luser --sysroot=%t.dir 2>&1 | FileCheck --check-prefixes=CHECK-NO-TARGETLIB %s +// RUN: env SCE_PROSPERO_SDK_DIR=. %clang --target=x64_64-sie-ps5 %s -### -Luser --sysroot=%t.dir 2>&1 | FileCheck --check-prefixes=CHECK-NO-TARGETLIB %s ---------------- jmorse wrote:
SGTM! https://github.com/llvm/llvm-project/pull/123350 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits