diff options
author | Chris Lattner <sabre@nondot.org> | 2008-02-26 23:46:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-02-26 23:46:22 +0000 |
commit | 4df85f55bbd9f90f85e247ea74a729e22f6ae8fb (patch) | |
tree | 4ff4ab1de1cf23ea98936c45ad8933477c55cb30 /Driver/clang.cpp | |
parent | 5a7b3821c6abed7f58a53a94eac128bd23d23289 (diff) |
fix an interaction between -isystem . and isysroot.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r-- | Driver/clang.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp index 3234f8cf62..48bcbbdef8 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -698,8 +698,6 @@ static void AddPath(const std::string &Path, IncludeDirGroup Group, // handle things like C:\ right, nor win32 \\network\device\blah. if (isysroot.size() != 1 || isysroot[0] != '/') // Add isysroot if present. MappedPath.append(isysroot.begin(), isysroot.end()); - if (Path[0] != '/') // If in the system group, add a /. - MappedPath.push_back('/'); } MappedPath.append(Path.begin(), Path.end()); |