forked from OSchip/llvm-project
Driver: Don't use DOS style paths on UNIX
We'd add, as a fallback, DOS style paths when using the driver using a win32 triple. On a UNIX-like platform, this isn't particularly helpful. llvm-svn: 200507
This commit is contained in:
parent
413a6cb42b
commit
04a835798a
|
@ -324,7 +324,6 @@ void Windows::AddClangSystemIncludeArgs(const ArgList &DriverArgs,
|
|||
VSDir + "\\VC\\PlatformSDK\\Include");
|
||||
return;
|
||||
}
|
||||
#endif // _MSC_VER
|
||||
|
||||
// As a fallback, select default install paths.
|
||||
const StringRef Paths[] = {
|
||||
|
@ -335,6 +334,7 @@ void Windows::AddClangSystemIncludeArgs(const ArgList &DriverArgs,
|
|||
"C:/Program Files/Microsoft Visual Studio 8/VC/PlatformSDK/Include"
|
||||
};
|
||||
addSystemIncludes(DriverArgs, CC1Args, Paths);
|
||||
#endif // _MSC_VER
|
||||
}
|
||||
|
||||
void Windows::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs,
|
||||
|
|
Loading…
Reference in New Issue