]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
fix: Pass -fprofile-abs-path through to GCC (#1531)
authorMatt Johnston <matt@ucc.asn.au>
Fri, 15 Nov 2024 19:58:00 +0000 (03:58 +0800)
committerGitHub <noreply@github.com>
Fri, 15 Nov 2024 19:58:00 +0000 (20:58 +0100)
When caching support for -fprofile-abs-path was added, the argument was
omitted from the gcc commandline.

src/ccache/argprocessing.cpp

index e55da8c4b30716d9eafbfcdcd8219c6327c39a9e..02f0b036a8886d3fe3f0a69eb10f090fbceb3b88 100644 (file)
@@ -900,6 +900,7 @@ process_option_arg(const Context& ctx,
       // the actual CWD in the .gcno file.
       state.hash_actual_cwd = true;
     }
+    state.common_args.push_back(args[i]);
     return Statistic::none;
   }