359cf1e322
- Refresh patches * aarch64-suse-support.patch * arm_suse_support.diff * assume-opensuse.patch * default-to-i586.patch - Drop upstream patches * llvm-disable-pretty-stack-trace.patch * r189852.diff * unreachable-code.patch OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=287
25 lines
764 B
Diff
25 lines
764 B
Diff
Index: llvm/tools/clang/lib/Driver/Tools.cpp
|
|
===================================================================
|
|
--- llvm.orig/tools/clang/lib/Driver/Tools.cpp
|
|
+++ llvm/tools/clang/lib/Driver/Tools.cpp
|
|
@@ -1304,7 +1304,7 @@ static const char *getX86TargetCPU(const
|
|
}
|
|
|
|
// 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";
|
|
|
|
@@ -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";
|
|
}
|
|
}
|
|
|