19b3c84e47
* This release contains bug-fixes for the LLVM 19.1.0 release. This release is API and ABI compatible with 19.1.0. - Rebase patches: * llvm-do-not-install-static-libraries.patch * llvm-suse-implicit-gnu.patch - Patch llvm-fix-build-failure-on-ppc64le.patch landed upstream. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm19?expand=0&rev=5
15 lines
690 B
Diff
15 lines
690 B
Diff
diff --git a/llvm/include/llvm/TargetParser/Triple.h b/llvm/include/llvm/TargetParser/Triple.h
|
|
index d2126a0..eaf7599 100644
|
|
--- a/llvm/include/llvm/TargetParser/Triple.h
|
|
+++ b/llvm/include/llvm/TargetParser/Triple.h
|
|
@@ -614,7 +614,8 @@ public:
|
|
Env == Triple::GNUEABI || Env == Triple::GNUEABIT64 ||
|
|
Env == Triple::GNUEABIHF || Env == Triple::GNUEABIHFT64 ||
|
|
Env == Triple::GNUF32 || Env == Triple::GNUF64 ||
|
|
- Env == Triple::GNUSF || Env == Triple::GNUX32;
|
|
+ Env == Triple::GNUSF || Env == Triple::GNUX32 ||
|
|
+ (Env == Triple::UnknownEnvironment && getVendor() == Triple::SUSE);
|
|
}
|
|
|
|
/// Tests whether the OS is Haiku.
|