e82beb38ed
* No changelog upstream - Remove lldb-underlink.patch, fixed upstream - Update to version 3.6.0 * See http://llvm.org/releases/3.6.0/docs/ReleaseNotes.html - Removed the following patches, fixed upstream: * arm-remove-xfails.diff * libcxx-libdir.patch * llvm-config-lib64.patch OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=400
14 lines
539 B
Diff
14 lines
539 B
Diff
Index: cfe-3.6.0.src/lib/Driver/Driver.cpp
|
|
===================================================================
|
|
--- cfe-3.6.0.src/lib/Driver/Driver.cpp
|
|
+++ cfe-3.6.0.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 : "/opt/clang/bin/");
|
|
if (ClangResourceDir != "") {
|
|
llvm::sys::path::append(P, ClangResourceDir);
|
|
} else {
|