[qfcc] Generate dependencies only if not using cpp

cpp does this for us so the double-generation is redundant (and
currently wrong anyway with things like <built-in> and <command-line>
getting into the list of dependencies).
This commit is contained in:
Bill Currie 2023-10-29 14:00:37 +09:00
parent 6fa1d9caa2
commit dfd57ed74f

View file

@ -713,7 +713,7 @@ cpp_set_quote_file (const char *path)
void
cpp_write_dependencies (const char *sourcefile)
{
if (!options.dependencies) {
if (!options.dependencies || cpp_name) {
return;
}
if (!cpp_dep_target) {