From abe602feed204f7ff718fa9915dbde6e3a3048ff Mon Sep 17 00:00:00 2001 From: Casper Hornstrup Date: Sat, 23 Apr 2005 17:24:13 +0000 Subject: [PATCH] Don't detect host compiler on Linux svn path=/branches/xmlbuildsystem/; revision=14782 --- reactos/tools/rbuild/backend/mingw/mingw.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/tools/rbuild/backend/mingw/mingw.cpp b/reactos/tools/rbuild/backend/mingw/mingw.cpp index c446e1f3c45..6dd9bddc419 100644 --- a/reactos/tools/rbuild/backend/mingw/mingw.cpp +++ b/reactos/tools/rbuild/backend/mingw/mingw.cpp @@ -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";