SHA256
1
0
forked from pool/llvm
Ismail Dönmez 2015-03-02 12:36:56 +00:00 committed by Git OBS Bridge
parent 17b310c164
commit 1d86e4459f

View File

@ -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 {