summaryrefslogtreecommitdiff
path: root/debian/patches/clang-baseline-fix-i386.patch
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-12-02 17:06:08 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-12-02 17:06:08 +0300
commit18583eaa2c6fa769ce80605422fa10a60d353af7 (patch)
tree4b6730afc2006e86ae8b91c8c4cf52b313b5c188 /debian/patches/clang-baseline-fix-i386.patch
downloadllvm-toolchain-8-18583eaa2c6fa769ce80605422fa10a60d353af7.tar.gz
Import llvm-toolchain-8 (1:8.0.1-4)debian/8.0.1-4debian
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";
+ }
+ }
+