Sign Up
Log In
Sign Up
Username:
*
Email:
*
Password:
*
Password confirmation:
*
or
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Compilers
llvm20
clang-resourcedirs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File clang-resourcedirs.patch of Package llvm20
Index: clang-20.1.0.src.src/lib/Driver/Driver.cpp =================================================================== --- clang-20.1.0.src.src.orig/lib/Driver/Driver.cpp +++ clang-20.1.0.src.src/lib/Driver/Driver.cpp @@ -176,7 +176,7 @@ // Dir is bin/ or lib/, depending on where BinaryPath is. StringRef Dir = llvm::sys::path::parent_path(BinaryPath); - SmallString<128> P(Dir); + SmallString<128> P((Dir != "") ? Dir : "/usr/bin/"); StringRef ConfiguredResourceDir(CLANG_RESOURCE_DIR); if (!ConfiguredResourceDir.empty()) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor