Author: cwittich
Date: Wed Nov 29 18:55:17 2006
New Revision: 24967
URL:
http://svn.reactos.org/svn/reactos?rev=24967&view=rev
Log:
skip binutils detection when no build date is returned (fix linux build)
Modified:
trunk/reactos/tools/rbuild/backend/mingw/mingw.cpp
Modified: trunk/reactos/tools/rbuild/backend/mingw/mingw.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/mingw…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/mingw/mingw.cpp (original)
+++ trunk/reactos/tools/rbuild/backend/mingw/mingw.cpp Wed Nov 29 18:55:17 2006
@@ -760,6 +760,14 @@
MingwBackend::IsSupportedBinutilsVersion ( const string& binutilsVersion )
{
if ( manualBinutilsSetting ) return true;
+
+ /* linux */
+ if ( binutilsVersion.find('.') != std::string::npos )
+ {
+ /* TODO: blacklist versions on version number instead of date */
+ return true;
+ }
+
if ( ( ( strcmp ( binutilsVersion.c_str (), "20040902") >= 0 ) &&
( strcmp ( binutilsVersion.c_str (), "20041008") <= 0 ) ) ||
( strcmp ( binutilsVersion.c_str (), "20031001") < 0 ) )