From dfd57ed74f5921508de76255f856544a78dca3b0 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 29 Oct 2023 14:00:37 +0900 Subject: [PATCH] [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 and getting into the list of dependencies). --- tools/qfcc/source/cpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/cpp.c b/tools/qfcc/source/cpp.c index 647abe868..5f8c05867 100644 --- a/tools/qfcc/source/cpp.c +++ b/tools/qfcc/source/cpp.c @@ -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) {