d7a7048ab3
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=30
15 lines
633 B
Diff
15 lines
633 B
Diff
diff --git a/llvm/include/llvm/TargetParser/Triple.h b/llvm/include/llvm/TargetParser/Triple.h
|
|
index 59513fa..4de99ae 100644
|
|
--- a/llvm/include/llvm/TargetParser/Triple.h
|
|
+++ b/llvm/include/llvm/TargetParser/Triple.h
|
|
@@ -582,7 +582,8 @@ public:
|
|
Env == Triple::GNUABI64 || Env == Triple::GNUEABI ||
|
|
Env == Triple::GNUEABIHF || Env == Triple::GNUF32 ||
|
|
Env == Triple::GNUF64 || Env == Triple::GNUSF ||
|
|
- Env == Triple::GNUX32;
|
|
+ Env == Triple::GNUX32 ||
|
|
+ (Env == Triple::UnknownEnvironment && getVendor() == Triple::SUSE);
|
|
}
|
|
|
|
/// Tests whether the OS is Haiku.
|