summaryrefslogtreecommitdiff
path: root/debian/patches/clang-baseline-fix-i386.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/clang-baseline-fix-i386.patch')
-rw-r--r--debian/patches/clang-baseline-fix-i386.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/clang-baseline-fix-i386.patch b/debian/patches/clang-baseline-fix-i386.patch
new file mode 100644
index 0000000..4c7a492
--- /dev/null
+++ b/debian/patches/clang-baseline-fix-i386.patch
@@ -0,0 +1,13 @@
+--- a/clang/lib/Driver/ToolChains/Arch/X86.cpp
++++ b/clang/lib/Driver/ToolChains/Arch/X86.cpp
+@@ -105,8 +105,8 @@ const char *x86::getX86TargetCPU(const ArgList &Args,
+ case llvm::Triple::Haiku:
+ return "i586";
+ default:
+- // Fallback to p4.
+- return "pentium4";
++ // Fallback to i686.
++ return "i686";
+ }
+ }
+