Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
llvm6.15202
llvm-fix-find-gcc5-install.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File llvm-fix-find-gcc5-install.patch of Package llvm6.15202
Index: cfe-6.0.0rc1.src/lib/Driver/ToolChains/Gnu.cpp =================================================================== --- cfe-6.0.0rc1.src.orig/lib/Driver/ToolChains/Gnu.cpp +++ cfe-6.0.0rc1.src/lib/Driver/ToolChains/Gnu.cpp @@ -1540,7 +1540,8 @@ Generic_GCC::GCCVersion Generic_GCC::GCC GoodVersion.MajorStr = First.first.str(); if (First.second.empty()) return GoodVersion; - if (Second.first.getAsInteger(10, GoodVersion.Minor) || GoodVersion.Minor < 0) + if (!Second.first.str().empty() && + (Second.first.getAsInteger(10, GoodVersion.Minor) || GoodVersion.Minor < 0)) return BadVersion; GoodVersion.MinorStr = Second.first.str();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor