Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:Update
llvm5
clang-resourcedirs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File clang-resourcedirs.patch of Package llvm5
Index: cfe-5.0.0rc1.src/lib/Driver/Driver.cpp =================================================================== --- cfe-5.0.0rc1.src/lib/Driver/Driver.cpp +++ cfe-5.0.0rc1.src/lib/Driver/Driver.cpp @@ -64,7 +64,7 @@ Driver::Driver(StringRef ClangExecutable // Compute the path to the resource directory. StringRef ClangResourceDir(CLANG_RESOURCE_DIR); - SmallString<128> P(Dir); + SmallString<128> P((Dir != "") ? Dir : "/usr/bin/"); if (ClangResourceDir != "") { llvm::sys::path::append(P, ClangResourceDir); } else {
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