summaryrefslogblamecommitdiff
path: root/user/clang/pmmx-musl.patch
blob: 7286c0ab8f4d1872c6f86c521d1d6011ee2ba932 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                           
--- cfe-8.0.0.src/lib/Driver/ToolChains/Linux.cpp.old	2018-11-29 18:52:22.000000000 +0000
+++ cfe-8.0.0.src/lib/Driver/ToolChains/Linux.cpp	2019-06-01 23:22:27.015221397 +0000
@@ -528,6 +528,9 @@
       ArchName = "armeb";
       IsArm = true;
       break;
+    case llvm::Triple::x86:
+      ArchName = "i386";
+      break;
     default:
       ArchName = Triple.getArchName().str();
     }