[cfe-commits] [PATCH] Fix GCC triple for preview gcc4.4 on CentOS 32 bit
Bruce Stephens
bruce.r.stephens at gmail.com
Fri Dec 7 07:02:29 PST 2012
On a 32-bit CentOS 5.8 (very similar to Red Hat Enterprise), clang
doesn't build very well against the normal gcc, g++. So I installed and
used gcc44 and gcc44-c++, but clang continues to use the 4.1.2
headers. I see that there's already a x86_64-redhat-linux6E, so
presumably adding the 32-bit equivalent also makes sense.
---
lib/Driver/ToolChains.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
index 179f0fd..eac9d3a 100644
--- a/lib/Driver/ToolChains.cpp
+++ b/lib/Driver/ToolChains.cpp
@@ -1094,6 +1094,7 @@ Generic_GCC::GCCInstallationDetector::GCCInstallationDetector(
"i686-pc-linux-gnu",
"i486-linux-gnu",
"i386-linux-gnu",
+ "i386-redhat-linux6E",
"i686-redhat-linux",
"i586-redhat-linux",
"i386-redhat-linux",
--
1.7.9.2.302.g3724c
More information about the cfe-commits
mailing list