forked from pool/llvm15
2e423ce050
/usr/bin/python3 (bsc#1212476). OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=39
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 {
|