From 22197c1334f562df486a9d8102ea2da27a5d1464 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Tue, 1 Feb 2011 23:03:29 +0000 Subject: [PATCH] Add support for x86-64 Mandriva 2010.2. Reported by 'rindolf' on IRC! llvm-svn: 124699 --- clang/lib/Driver/ToolChains.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp index 537372cb0b91..64c9ccb8c3f9 100644 --- a/clang/lib/Driver/ToolChains.cpp +++ b/clang/lib/Driver/ToolChains.cpp @@ -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";