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 {
|