]> granicus.if.org Git - clang/commitdiff
Remove an old OpenSUSE hack that is no longer needed -- it is exactly
authorChandler Carruth <chandlerc@gmail.com>
Sun, 6 Nov 2011 23:10:49 +0000 (23:10 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 6 Nov 2011 23:10:49 +0000 (23:10 +0000)
the same as a directory added further down in the new logic.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143897 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp

index 62370859a4bbd56acaa4806a63b4a36cb237b5cf..a155d6c4147004b4f02a168d0a347563d5010125 100644 (file)
@@ -1840,11 +1840,6 @@ Linux::Linux(const HostInfo &Host, const llvm::Triple &Triple)
   if (GCCInstallation.isValid()) {
     const std::string &LibPath = GCCInstallation.getParentLibPath();
     const std::string &GccTriple = GCCInstallation.getTriple();
-    // FIXME: This OpenSuse-specific path shouldn't be needed any more, but
-    // I don't want to remove it without finding someone to test.
-    if (IsOpenSuse(Distro) && Is32Bits)
-      Paths.push_back(LibPath + "/../" + GccTriple + "/lib/../lib");
-
     addPathIfExists(GCCInstallation.getInstallPath() + Suffix, Paths);
     addPathIfExists(LibPath + "/../" + GccTriple + "/lib/../" + Multilib,
                     Paths);