forked from pool/llvm15
0b5e480781
as implicitly GNU. Without this we would get library calls for fused-multiply-add even if it's available in hardware. - Add openmp-drop-rpath.patch: backport revert of adding RUNPATH to openmp executables. (boo#1206837) OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=22
15 lines
626 B
Diff
15 lines
626 B
Diff
diff --git a/llvm/include/llvm/ADT/Triple.h b/llvm/include/llvm/ADT/Triple.h
|
|
index ba4584d..eec01eb 100644
|
|
--- a/llvm/include/llvm/ADT/Triple.h
|
|
+++ b/llvm/include/llvm/ADT/Triple.h
|
|
@@ -555,7 +555,8 @@ public:
|
|
EnvironmentType Env = getEnvironment();
|
|
return Env == Triple::GNU || Env == Triple::GNUABIN32 ||
|
|
Env == Triple::GNUABI64 || Env == Triple::GNUEABI ||
|
|
- Env == Triple::GNUEABIHF || Env == Triple::GNUX32;
|
|
+ Env == Triple::GNUEABIHF || Env == Triple::GNUX32 ||
|
|
+ (Env == Triple::UnknownEnvironment && getVendor() == Triple::SUSE);
|
|
}
|
|
|
|
bool isOSContiki() const {
|