gecko-dev/build/unix/build-clang/no-sse-on-linux-trunk.patch
Christian Holler 18153c17f2 Bug 957865 - Adjust clang build script/patches for r200213. r=rail
--HG--
extra : rebase_source : 38ba07b51cf6fe5e6ed34f3f8d4dde07766c214f
2014-03-28 19:06:13 +01:00

14 lines
511 B
Diff

Index: lib/Driver/Tools.cpp
===================================================================
--- a/clang/lib/Driver/Tools.cpp (revision 199443)
+++ b/clang/lib/Driver/Tools.cpp (working copy)
@@ -1226,7 +1226,7 @@
// All x86 devices running Android have core2 as their common
// denominator. This makes a better choice than pentium4.
if (Triple.getEnvironment() == llvm::Triple::Android)
- return "core2";
+ return "686";
// Everything else goes to x86-64 in 64-bit mode.
if (Is64Bit)