target - Don't XFAIL tools/clang/test/Driver/linux-ld.c OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm21?expand=0&rev=15
14 lines
616 B
Diff
14 lines
616 B
Diff
Index: clang-21.1.5.src/lib/Driver/Distro.cpp
|
|
===================================================================
|
|
--- clang-21.1.5.src.orig/lib/Driver/Distro.cpp
|
|
+++ clang-21.1.5.src/lib/Driver/Distro.cpp
|
|
@@ -221,7 +221,7 @@ static Distro::DistroType GetDistro(llvm
|
|
const llvm::Triple &TargetOrHost) {
|
|
// If we don't target Linux, no need to check the distro. This saves a few
|
|
// OS calls.
|
|
- if (!TargetOrHost.isOSLinux())
|
|
+ if (!TargetOrHost.isOSLinux() || TargetOrHost.isAndroid())
|
|
return Distro::UnknownDistro;
|
|
|
|
// True if we're backed by a real file system.
|