[clang] 7c5222e - [Driver] Bring back i586-linxu-gnu

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 23 23:37:48 PDT 2021


Author: Fangrui Song
Date: 2021-03-23T23:37:43-07:00
New Revision: 7c5222e4d1a3a14f029e5f614c9aefd0fa505f1e

URL: https://github.com/llvm/llvm-project/commit/7c5222e4d1a3a14f029e5f614c9aefd0fa505f1e
DIFF: https://github.com/llvm/llvm-project/commit/7c5222e4d1a3a14f029e5f614c9aefd0fa505f1e.diff

LOG: [Driver] Bring back i586-linxu-gnu

This is used by Fuchsia for a Debian jessie based sysroot.

Added: 
    

Modified: 
    clang/lib/Driver/ToolChains/Gnu.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Driver/ToolChains/Gnu.cpp b/clang/lib/Driver/ToolChains/Gnu.cpp
index 6a612b83c4f6..2c3707012ef5 100644
--- a/clang/lib/Driver/ToolChains/Gnu.cpp
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
@@ -2109,9 +2109,11 @@ void Generic_GCC::GCCInstallationDetector::AddDefaultGCCPrefixes(
   static const char *const X32LibDirs[] = {"/libx32"};
   static const char *const X86LibDirs[] = {"/lib32", "/lib"};
   static const char *const X86Triples[] = {
-      "i686-linux-gnu",        "i686-pc-linux-gnu",  "i386-redhat-linux6E",
-      "i686-redhat-linux",     "i386-redhat-linux",  "i586-suse-linux",
-      "i686-montavista-linux", "i686-linux-android", "i386-gnu",
+      "i586-linux-gnu",     "i686-linux-gnu",
+      "i686-pc-linux-gnu",  "i386-redhat-linux6E",
+      "i686-redhat-linux",  "i386-redhat-linux",
+      "i586-suse-linux",    "i686-montavista-linux",
+      "i686-linux-android", "i386-gnu",
   };
 
   static const char *const M68kLibDirs[] = {"/lib"};


        


More information about the cfe-commits mailing list