[cfe-commits] r124699 - /cfe/trunk/lib/Driver/ToolChains.cpp
Nick Lewycky
nicholas at mxc.ca
Tue Feb 1 15:03:29 PST 2011
Author: nicholas
Date: Tue Feb 1 17:03:29 2011
New Revision: 124699
URL: http://llvm.org/viewvc/llvm-project?rev=124699&view=rev
Log:
Add support for x86-64 Mandriva 2010.2. Reported by 'rindolf' on IRC!
Modified:
cfe/trunk/lib/Driver/ToolChains.cpp
Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=124699&r1=124698&r2=124699&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Tue Feb 1 17:03:29 2011
@@ -1350,6 +1350,9 @@
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";
More information about the cfe-commits
mailing list