mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
15 lines
587 B
Diff
15 lines
587 B
Diff
|
Index: lib/Driver/ToolChains.cpp
|
||
|
===================================================================
|
||
|
--- lib/Driver/ToolChains.cpp (revision 229718)
|
||
|
+++ lib/Driver/ToolChains.cpp (revision 229719)
|
||
|
@@ -3154,7 +3154,8 @@
|
||
|
SmallVector<StringRef, 5> dirs;
|
||
|
CIncludeDirs.split(dirs, ":");
|
||
|
for (StringRef dir : dirs) {
|
||
|
- StringRef Prefix = llvm::sys::path::is_absolute(dir) ? SysRoot : "";
|
||
|
+ StringRef Prefix =
|
||
|
+ llvm::sys::path::is_absolute(dir) ? StringRef(SysRoot) : "";
|
||
|
addExternCSystemInclude(DriverArgs, CC1Args, Prefix + dir);
|
||
|
}
|
||
|
return;
|