diff --git a/default-to-i586.patch b/default-to-i586.patch index 88ace86..0a71865 100644 --- a/default-to-i586.patch +++ b/default-to-i586.patch @@ -2,12 +2,14 @@ Index: llvm/tools/clang/lib/Driver/Tools.cpp =================================================================== --- llvm.orig/tools/clang/lib/Driver/Tools.cpp +++ llvm/tools/clang/lib/Driver/Tools.cpp -@@ -897,7 +897,7 @@ void Clang::AddX86TargetArgs(const ArgLi - if (getToolChain().getArch() == llvm::Triple::x86_64) +@@ -1178,8 +1178,8 @@ void Clang::AddX86TargetArgs(const ArgLi CPUName = "x86-64"; else if (getToolChain().getArch() == llvm::Triple::x86) -- CPUName = "pentium4"; -+ CPUName = "i586"; + // All x86 devices running Android have core2 as their common +- // denominator. This makes a better choice than pentium4. +- CPUName = isAndroid ? "core2" : "pentium4"; ++ // denominator. This makes a better choice than i586. ++ CPUName = isAndroid ? "core2" : "i586"; } } diff --git a/llvm.changes b/llvm.changes index cd8afa2..bbb9826 100644 --- a/llvm.changes +++ b/llvm.changes @@ -18,6 +18,7 @@ Mon Nov 12 08:05:08 UTC 2012 - idonmez@suse.com * A new IR-level pass, called "TargetTransformInfo" provides a number of low-level interfaces. +- Refresh default-to-i586.patch to apply again - Drop following patches (fixed upstream) * arm-suse-support.patch * pr12463.patch