build/unix/build-clang/no-sse-on-linux.patch

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/build/unix/build-clang/no-sse-on-linux.patch	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +Index: lib/Driver/Tools.cpp
     1.5 +===================================================================
     1.6 +--- a/clang/lib/Driver/Tools.cpp        (revision 181515)
     1.7 ++++ b/clang/lib/Driver/Tools.cpp        (working copy)
     1.8 +@@ -1245,7 +1245,7 @@
     1.9 +   // All x86 devices running Android have core2 as their common
    1.10 +   // denominator. This makes a better choice than pentium4.
    1.11 +   if (Triple.getEnvironment() == llvm::Triple::Android)
    1.12 +-    return "core2";
    1.13 ++    return "686";
    1.14 +
    1.15 +   // Fallback to p4.
    1.16 +   return "pentium4";

mercurial