summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ToolChains.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-11-06 10:30:58 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-11-06 10:30:58 +0000
commit7e62da2845805c8af13857fcd6afaa0a97ab548f (patch)
tree3fc773e6ae9d964c31b7544ceb609fb237e5e8a8 /clang/lib/Driver/ToolChains.cpp
parent5c29d6958812e86d398555b530ce6dea6f263831 (diff)
downloadbcm5719-llvm-7e62da2845805c8af13857fcd6afaa0a97ab548f.tar.gz
bcm5719-llvm-7e62da2845805c8af13857fcd6afaa0a97ab548f.zip
Add a missing triple spotted by inspecting and testing of the include
path triples. Also order the 32-bit triples a bit more reasonably. llvm-svn: 143873
Diffstat (limited to 'clang/lib/Driver/ToolChains.cpp')
-rw-r--r--clang/lib/Driver/ToolChains.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp
index 07be52b20fc..2844f92c187 100644
--- a/clang/lib/Driver/ToolChains.cpp
+++ b/clang/lib/Driver/ToolChains.cpp
@@ -1674,10 +1674,11 @@ Linux::GCCInstallationDetector::GCCInstallationDetector(const Driver &D)
static const char *const X86LibDirs[] = { "/lib32", "/lib" };
static const char *const X86Triples[] = {
"i686-linux-gnu",
- "i386-linux-gnu",
"i686-pc-linux-gnu",
"i486-linux-gnu",
+ "i386-linux-gnu",
"i686-redhat-linux",
+ "i586-redhat-linux",
"i386-redhat-linux",
"i586-suse-linux",
"i486-slackware-linux"
OpenPOWER on IntegriCloud