Nice bug
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=408
This commit is contained in:
parent
17b310c164
commit
1d86e4459f
@ -7,7 +7,7 @@ Index: cfe-3.6.0.src/lib/Driver/Driver.cpp
|
||||
// Compute the path to the resource directory.
|
||||
StringRef ClangResourceDir(CLANG_RESOURCE_DIR);
|
||||
- SmallString<128> P(Dir);
|
||||
+ SmallString<128> P((Dir != "") ? Dir : "/opt/clang/bin/");
|
||||
+ SmallString<128> P((Dir != "") ? Dir : "/usr/bin/");
|
||||
if (ClangResourceDir != "") {
|
||||
llvm::sys::path::append(P, ClangResourceDir);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user