Don't detect host compiler on Linux

svn path=/branches/xmlbuildsystem/; revision=14782
This commit is contained in:
Casper Hornstrup
2005-04-23 17:24:13 +00:00
parent dea6a7d878
commit abe602feed
@@ -590,11 +590,13 @@ MingwBackend::DetectCompiler ()
compilerCommand = ROS_PREFIXValue + "-gcc";
detectedCompiler = TryToDetectThisCompiler ( compilerCommand );
}
#if defined(WIN32)
if ( !detectedCompiler )
{
compilerCommand = "gcc";
detectedCompiler = TryToDetectThisCompiler ( compilerCommand );
}
#endif
if ( !detectedCompiler )
{
compilerCommand = "mingw32-gcc";