From 42b47ae77b20764de107d404b25a042bf56d7bd9 Mon Sep 17 00:00:00 2001 From: Boris Staletic Date: Sun, 18 Mar 2018 17:15:32 +0100 Subject: [PATCH] Add -idirafter ot kPathArgs (#529) --- src/project.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/project.cc b/src/project.cc index 35d86aab..a95efdf8 100644 --- a/src/project.cc +++ b/src/project.cc @@ -86,7 +86,9 @@ std::vector kBlacklist = { std::vector kPathArgs = { "-I", "-iquote", "-isystem", "--sysroot=", "-isysroot", "-gcc-toolchain", "-include-pch", "-iframework", - "-F", "-imacros", "-include", "/I"}; + "-F", "-imacros", "-include", "/I", + "-idirafter" +}; // Arguments which always require an absolute path, ie, clang -working-directory // does not work as expected. Argument processing assumes that this is a subset