summaryrefslogblamecommitdiff
path: root/user/clang/pmmx-musl.patch
blob: 2a3803349057e135d795af4a886ddd1391154859 (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
@@ -534,6 +534,9 @@
       ArchName = "armeb";
       IsArm = true;
       break;
+    case llvm::Triple::x86:
+      ArchName = "i386";
+      break;
     default:
       ArchName = Triple.getArchName().str();
     }