llvm18/llvm-suse-implicit-gnu.patch
Aaron Puchert c416dc0004 - Apply clang-shlib-symbol-versioning.patch to add symbol versions
to libclang-cpp.so similar to libLLVM.so. This is required when
  multiple versions of the library are loaded into the same
  process. (boo#1219405, boo#1221183, boo#1233220)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=33
2024-11-17 14:23:54 +00:00

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.