skip binutils detection when no build date is returned (fix linux build)

svn path=/trunk/; revision=24967
This commit is contained in:
Christoph von Wittich 2006-11-29 15:55:17 +00:00
parent b74888ef0d
commit 09f6f9fded

View file

@ -760,6 +760,14 @@ bool
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 ) )