Don't detect host compiler on Linux
Modified:
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp
_____
Modified:
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp
--- branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp
2005-04-23 17:11:51 UTC (rev 14781)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/mingw.cpp
2005-04-23 17:24:13 UTC (rev 14782)
@@ -590,11 +590,13 @@
compilerCommand = ROS_PREFIXValue + "-gcc";
detectedCompiler = TryToDetectThisCompiler (
compilerCommand );
}
+#if defined(WIN32)
if ( !detectedCompiler )
{
compilerCommand = "gcc";
detectedCompiler = TryToDetectThisCompiler (
compilerCommand );
}
+#endif
if ( !detectedCompiler )
{
compilerCommand = "mingw32-gcc";