From: Joel Rosdahl Date: Sun, 17 Dec 2023 21:00:04 +0000 (+0100) Subject: chore: Add debug log when finding -frecord-gcc-switches X-Git-Tag: v4.9~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dff6db77c3aa2778928994a89e32d84fdc5e4510;p=thirdparty%2Fccache.git chore: Add debug log when finding -frecord-gcc-switches --- diff --git a/src/argprocessing.cpp b/src/argprocessing.cpp index 216cdc3e5..82b136465 100644 --- a/src/argprocessing.cpp +++ b/src/argprocessing.cpp @@ -1009,6 +1009,8 @@ process_option_arg(const Context& ctx, if (arg == "-frecord-gcc-switches") { state.hash_full_command_line = true; + LOG_RAW( + "Found -frecord-gcc-switches, hashing original command line unmodified"); } // MSVC -u is something else than GCC -u, handle it specially.