File assume-opensuse.patch of Package llvm.3375

Index: cfe-3.5.0.src/lib/Driver/ToolChains.cpp
===================================================================
--- cfe-3.5.0.src/lib/Driver/ToolChains.cpp
+++ cfe-3.5.0.src/lib/Driver/ToolChains.cpp
@@ -2794,6 +2794,7 @@ static bool IsUbuntu(enum Distro Distro)
 }
 
 static Distro DetectDistro(llvm::Triple::ArchType Arch) {
+  return OpenSUSE; /*
   llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> File =
       llvm::MemoryBuffer::getFile("/etc/lsb-release");
   if (File) {
@@ -2861,7 +2862,7 @@ static Distro DetectDistro(llvm::Triple:
   if (llvm::sys::fs::exists("/etc/arch-release"))
     return ArchLinux;
 
-  return UnknownDistro;
+  return UnknownDistro;*/
 }
 
 /// \brief Get our best guess at the multiarch triple for a target.
openSUSE Build Service is sponsored by