Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:ARM
llvm5
llvm-fix-find-gcc5-install.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File llvm-fix-find-gcc5-install.patch of Package llvm5
Index: cfe-5.0.0rc1.src/lib/Driver/ToolChains.cpp =================================================================== --- cfe-5.0.0rc1.src/lib/Driver/ToolChains/Gnu.cpp +++ cfe-5.0.0rc1.src/lib/Driver/ToolChains/Gnu.cpp @@ -1294,7 +1294,8 @@ 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