diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-02-08 09:26:25 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-02-08 09:26:25 +0100 |
commit | 6d66cbcb80f7d6755c8b594011e2a772469e914f (patch) | |
tree | 283c529744b63b1953c529428fd7e3862bf1c36a /src | |
parent | 5b0d6fc33c89c2e13d6f041de8077ae206a686f6 (diff) |
Fix duplicate -I<path> args.
Diffstat (limited to 'src')
-rw-r--r-- | src/task_cc.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/task_cc.cc b/src/task_cc.cc index 97e99af..9628455 100644 --- a/src/task_cc.cc +++ b/src/task_cc.cc @@ -369,6 +369,7 @@ std::vector<std::string> TaskCC::getCompilerArgs() const path = (sourceDir / path).lexically_normal(); append(args, c_option(toolchain, ctor::c_opt::include_path, path.string())); + continue; } } break; @@ -411,6 +412,7 @@ std::vector<std::string> TaskCC::getCompilerArgs() const path = (sourceDir / path).lexically_normal(); append(args, cxx_option(toolchain, ctor::cxx_opt::include_path, path.string())); + continue; } } break; |