-
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=168
This commit is contained in:
parent
78cf258826
commit
65d86a5442
@ -2,12 +2,14 @@ Index: llvm/tools/clang/lib/Driver/Tools.cpp
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- llvm.orig/tools/clang/lib/Driver/Tools.cpp
|
--- llvm.orig/tools/clang/lib/Driver/Tools.cpp
|
||||||
+++ llvm/tools/clang/lib/Driver/Tools.cpp
|
+++ llvm/tools/clang/lib/Driver/Tools.cpp
|
||||||
@@ -897,7 +897,7 @@ void Clang::AddX86TargetArgs(const ArgLi
|
@@ -1178,8 +1178,8 @@ void Clang::AddX86TargetArgs(const ArgLi
|
||||||
if (getToolChain().getArch() == llvm::Triple::x86_64)
|
|
||||||
CPUName = "x86-64";
|
CPUName = "x86-64";
|
||||||
else if (getToolChain().getArch() == llvm::Triple::x86)
|
else if (getToolChain().getArch() == llvm::Triple::x86)
|
||||||
- CPUName = "pentium4";
|
// All x86 devices running Android have core2 as their common
|
||||||
+ CPUName = "i586";
|
- // denominator. This makes a better choice than pentium4.
|
||||||
|
- CPUName = isAndroid ? "core2" : "pentium4";
|
||||||
|
+ // denominator. This makes a better choice than i586.
|
||||||
|
+ CPUName = isAndroid ? "core2" : "i586";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ Mon Nov 12 08:05:08 UTC 2012 - idonmez@suse.com
|
|||||||
* A new IR-level pass, called "TargetTransformInfo" provides
|
* A new IR-level pass, called "TargetTransformInfo" provides
|
||||||
a number of low-level interfaces.
|
a number of low-level interfaces.
|
||||||
|
|
||||||
|
- Refresh default-to-i586.patch to apply again
|
||||||
- Drop following patches (fixed upstream)
|
- Drop following patches (fixed upstream)
|
||||||
* arm-suse-support.patch
|
* arm-suse-support.patch
|
||||||
* pr12463.patch
|
* pr12463.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user