aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/ToolChains.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-11-28 23:46:52 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-11-28 23:46:52 +0000
commit7972c88f674475037fa11fea718565e5bcdd61a6 (patch)
tree655ffc7e0b5b360942ca14fea30345ea948de009 /lib/Driver/ToolChains.cpp
parent0c2198a57923c3b0feb8a19474bf8fec7a55e09d (diff)
A couple driver fixes for PPC Linux. Patches by Michael Kostylev. PR11444/PR11445.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
-rw-r--r--lib/Driver/ToolChains.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
index f4209ad08a..5ebe282854 100644
--- a/lib/Driver/ToolChains.cpp
+++ b/lib/Driver/ToolChains.cpp
@@ -1234,7 +1234,8 @@ Generic_GCC::GCCInstallationDetector::GCCInstallationDetector(const Driver &D)
} else if (HostArch == llvm::Triple::ppc64) {
static const char *const PPC64LibDirs[] = { "/lib64", "/lib" };
static const char *const PPC64Triples[] = {
- "powerpc64-unknown-linux-gnu"
+ "powerpc64-unknown-linux-gnu",
+ "ppc64-redhat-linux"
};
LibDirs.append(PPC64LibDirs,
PPC64LibDirs + llvm::array_lengthof(PPC64LibDirs));