File default-to-i586.patch of Package llvm5

Index: cfe-5.0.0rc1.src/lib/Driver/Tools.cpp
===================================================================
--- cfe-5.0.0rc1.src/lib/Driver/ToolChains/Arch/X86.cpp
+++ cfe-5.0.0rc1.src/lib/Driver/ToolChains/Arch/X86.cpp
@@ -1680,8 +1680,8 @@ static const char *getX86TargetCPU(const
   case llvm::Triple::Bitrig:
     return "i686";
   default:
-    // Fallback to p4.
-    return "pentium4";
+    // Fallback to i586.
+    return "i586";
   }
 }
openSUSE Build Service is sponsored by