2013-11-19 10:12:59 +01:00
|
|
|
Index: llvm/tools/clang/lib/Driver/Tools.cpp
|
2012-03-21 15:01:15 +01:00
|
|
|
===================================================================
|
2013-11-19 10:12:59 +01:00
|
|
|
--- llvm.orig/tools/clang/lib/Driver/Tools.cpp
|
|
|
|
+++ llvm/tools/clang/lib/Driver/Tools.cpp
|
|
|
|
@@ -1304,7 +1304,7 @@ static const char *getX86TargetCPU(const
|
|
|
|
}
|
|
|
|
|
2013-05-08 11:19:05 +02:00
|
|
|
// All x86 devices running Android have core2 as their common
|
|
|
|
- // denominator. This makes a better choice than pentium4.
|
|
|
|
+ // denominator. This makes a better choice than i586.
|
|
|
|
if (Triple.getEnvironment() == llvm::Triple::Android)
|
|
|
|
return "core2";
|
2012-03-21 15:01:15 +01:00
|
|
|
|
2013-11-19 10:12:59 +01:00
|
|
|
@@ -1322,8 +1322,8 @@ static const char *getX86TargetCPU(const
|
|
|
|
case llvm::Triple::Bitrig:
|
|
|
|
return "i686";
|
|
|
|
default:
|
|
|
|
- // Fallback to p4.
|
|
|
|
- return "pentium4";
|
|
|
|
+ // Fallback to i586.
|
|
|
|
+ return "i586";
|
|
|
|
}
|
2013-05-08 11:19:05 +02:00
|
|
|
}
|
|
|
|
|