]> granicus.if.org Git - clang/commitdiff
Add ToolChain path support for linker on Slackware.
authorTed Kremenek <kremenek@apple.com>
Mon, 18 Apr 2011 17:50:19 +0000 (17:50 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 18 Apr 2011 17:50:19 +0000 (17:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129704 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp

index 868165a48c77663b38647ba5a6c9b2c0236f5bf9..1b39398120ff2c14e8591f0b39d0e3cb12478e9e 100644 (file)
@@ -1323,6 +1323,9 @@ Linux::Linux(const HostInfo &Host, const llvm::Triple &Triple)
     else if (!llvm::sys::fs::exists("/usr/lib/gcc/i586-suse-linux", Exists) &&
              Exists)
       GccTriple = "i586-suse-linux";
+    else if (!llvm::sys::fs::exists("/usr/lib/gcc/i486-slackware-linux", Exists)
+            && Exists)
+      GccTriple = "i486-slackware-linux";
   } else if (Arch == llvm::Triple::ppc) {
     if (!llvm::sys::fs::exists("/usr/lib/powerpc-linux-gnu", Exists) && Exists)
       GccTriple = "powerpc-linux-gnu";