From: Matt Johnston Date: Fri, 15 Nov 2024 19:58:00 +0000 (+0800) Subject: fix: Pass -fprofile-abs-path through to GCC (#1531) X-Git-Tag: v4.11~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=168ba87eb1d590190dfcd79ca1f3f69b0aa9b3b1;p=thirdparty%2Fccache.git fix: Pass -fprofile-abs-path through to GCC (#1531) When caching support for -fprofile-abs-path was added, the argument was omitted from the gcc commandline. --- diff --git a/src/ccache/argprocessing.cpp b/src/ccache/argprocessing.cpp index e55da8c4..02f0b036 100644 --- a/src/ccache/argprocessing.cpp +++ b/src/ccache/argprocessing.cpp @@ -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; }