Add support for x86-64 Mandriva 2010.2. Reported by 'rindolf' on IRC!

llvm-svn: 124699
This commit is contained in:
Nick Lewycky 2011-02-01 23:03:29 +00:00
parent bcbf46c7b7
commit 22197c1334
1 changed files with 3 additions and 0 deletions

View File

@ -1350,6 +1350,9 @@ Linux::Linux(const HostInfo &Host, const llvm::Triple &Triple)
else if (!llvm::sys::fs::exists("/usr/lib64/gcc/x86_64-suse-linux",
Exists) && Exists)
GccTriple = "x86_64-suse-linux";
else if (!llvm::sys::fs::exists("/usr/lib/gcc/x86_64-manbo-linux-gnu",
Exists) && Exists)
GccTriple = "x86_64-manbo-linux-gnu";
} else if (Arch == llvm::Triple::x86) {
if (!llvm::sys::fs::exists("/usr/lib/gcc/i686-linux-gnu", Exists) && Exists)
GccTriple = "i686-linux-gnu";